Revision: 4579
          http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4579&view=rev
Author:   ossman_
Date:     2011-07-12 15:54:25 +0000 (Tue, 12 Jul 2011)

Log Message:
-----------
Create a proper header file for the exported functions from vncviewer.cxx.

Modified Paths:
--------------
    trunk/vncviewer/CConn.cxx
    trunk/vncviewer/DesktopWindow.cxx
    trunk/vncviewer/ServerDialog.cxx
    trunk/vncviewer/Viewport.cxx

Added Paths:
-----------
    trunk/vncviewer/vncviewer.h

Modified: trunk/vncviewer/CConn.cxx
===================================================================
--- trunk/vncviewer/CConn.cxx   2011-07-06 07:28:30 UTC (rev 4578)
+++ trunk/vncviewer/CConn.cxx   2011-07-12 15:54:25 UTC (rev 4579)
@@ -38,6 +38,7 @@
 #include "OptionsDialog.h"
 #include "i18n.h"
 #include "parameters.h"
+#include "vncviewer.h"
 
 #ifdef WIN32
 #include "win32.h"
@@ -47,8 +48,6 @@
 using namespace rfb;
 using namespace std;
 
-extern void exit_vncviewer();
-
 static rfb::LogWriter vlog("CConn");
 
 static const PixelFormat mediumColourPF(8,3,0,1,1,1,1,2,1,0);

Modified: trunk/vncviewer/DesktopWindow.cxx
===================================================================
--- trunk/vncviewer/DesktopWindow.cxx   2011-07-06 07:28:30 UTC (rev 4578)
+++ trunk/vncviewer/DesktopWindow.cxx   2011-07-12 15:54:25 UTC (rev 4579)
@@ -27,6 +27,7 @@
 #include "OptionsDialog.h"
 #include "i18n.h"
 #include "parameters.h"
+#include "vncviewer.h"
 
 #include <FL/Fl_Scroll.H>
 #include <FL/x.H>
@@ -41,8 +42,6 @@
 
 using namespace rfb;
 
-extern void exit_vncviewer();
-
 static rfb::LogWriter vlog("DesktopWindow");
 
 DesktopWindow::DesktopWindow(int w, int h, const char *name,

Modified: trunk/vncviewer/ServerDialog.cxx
===================================================================
--- trunk/vncviewer/ServerDialog.cxx    2011-07-06 07:28:30 UTC (rev 4578)
+++ trunk/vncviewer/ServerDialog.cxx    2011-07-12 15:54:25 UTC (rev 4579)
@@ -26,9 +26,8 @@
 #include "OptionsDialog.h"
 #include "fltk_layout.h"
 #include "i18n.h"
+#include "vncviewer.h"
 
-extern void about_vncviewer();
-
 ServerDialog::ServerDialog()
   : Fl_Window(400, 112, _("VNC Viewer: Connection Details"))
 {

Modified: trunk/vncviewer/Viewport.cxx
===================================================================
--- trunk/vncviewer/Viewport.cxx        2011-07-06 07:28:30 UTC (rev 4578)
+++ trunk/vncviewer/Viewport.cxx        2011-07-12 15:54:25 UTC (rev 4579)
@@ -42,6 +42,7 @@
 #include "fltk_layout.h"
 #include "parameters.h"
 #include "keysym2ucs.h"
+#include "vncviewer.h"
 
 #include <FL/fl_draw.H>
 #include <FL/fl_ask.H>
@@ -53,9 +54,6 @@
 using namespace rfb;
 using namespace rdr;
 
-extern void exit_vncviewer();
-extern void about_vncviewer();
-
 static rfb::LogWriter vlog("Viewport");
 
 // Menu constants

Added: trunk/vncviewer/vncviewer.h
===================================================================
--- trunk/vncviewer/vncviewer.h                         (rev 0)
+++ trunk/vncviewer/vncviewer.h 2011-07-12 15:54:25 UTC (rev 4579)
@@ -0,0 +1,25 @@
+/* Copyright 2011 Pierre Ossman <oss...@cendio.se> for Cendio AB
+ * 
+ * This is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ * 
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License
+ * along with this software; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
+ * USA.
+ */
+
+#ifndef __VNCVIEWER_H__
+#define __VNCVIEWER_H__
+
+void exit_vncviewer();
+void about_vncviewer();
+
+#endif


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Tigervnc-commits mailing list
Tigervnc-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits

Reply via email to