Browse Source

Create a proper header file for the exported functions from vncviewer.cxx.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4579 3789f03b-4d11-0410-bbf8-ca57d06f2519
tags/v1.1.90
Pierre Ossman 13 years ago
parent
commit
39ceb50888
5 changed files with 29 additions and 9 deletions
  1. 1
    2
      vncviewer/CConn.cxx
  2. 1
    2
      vncviewer/DesktopWindow.cxx
  3. 1
    2
      vncviewer/ServerDialog.cxx
  4. 1
    3
      vncviewer/Viewport.cxx
  5. 25
    0
      vncviewer/vncviewer.h

+ 1
- 2
vncviewer/CConn.cxx View File

@@ -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 rdr;
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);

+ 1
- 2
vncviewer/DesktopWindow.cxx View File

@@ -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,

+ 1
- 2
vncviewer/ServerDialog.cxx View File

@@ -26,8 +26,7 @@
#include "OptionsDialog.h"
#include "fltk_layout.h"
#include "i18n.h"

extern void about_vncviewer();
#include "vncviewer.h"

ServerDialog::ServerDialog()
: Fl_Window(400, 112, _("VNC Viewer: Connection Details"))

+ 1
- 3
vncviewer/Viewport.cxx View File

@@ -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

+ 25
- 0
vncviewer/vncviewer.h View File

@@ -0,0 +1,25 @@
/* Copyright 2011 Pierre Ossman <ossman@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

Loading…
Cancel
Save