diff options
author | Pierre Ossman <ossman@cendio.se> | 2011-05-20 12:12:59 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2011-05-20 12:12:59 +0000 |
commit | afc7d14b64794ca31d6170334605b2281c3fb765 (patch) | |
tree | bb1d974ecfc9d23ca5d101f38fb81c4d389d7e69 /vncviewer | |
parent | cd6ddefabe19dfc1f2f6a6afabb06e067b2b54df (diff) | |
download | tigervnc-afc7d14b64794ca31d6170334605b2281c3fb765.tar.gz tigervnc-afc7d14b64794ca31d6170334605b2281c3fb765.zip |
Remove no longer used code.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4435 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'vncviewer')
-rw-r--r-- | vncviewer/CMakeLists.txt | 4 | ||||
-rw-r--r-- | vncviewer/Viewport.cxx | 4 | ||||
-rw-r--r-- | vncviewer/osx_utils.m | 25 |
3 files changed, 0 insertions, 33 deletions
diff --git a/vncviewer/CMakeLists.txt b/vncviewer/CMakeLists.txt index ecf7b692..59886401 100644 --- a/vncviewer/CMakeLists.txt +++ b/vncviewer/CMakeLists.txt @@ -13,10 +13,6 @@ set(VNCVIEWER_SOURCES keysym2ucs.c vncviewer.cxx) -if(APPLE) - set(VNCVIEWER_SOURCES ${VNCVIEWER_SOURCES} osx_utils.m) -endif() - add_executable(vncviewer ${VNCVIEWER_SOURCES}) target_link_libraries(vncviewer rfb network rdr os Xregion ${FLTK_LIBRARIES} ${GETTEXT_LIBRARIES}) diff --git a/vncviewer/Viewport.cxx b/vncviewer/Viewport.cxx index d712b8ed..ee8e539b 100644 --- a/vncviewer/Viewport.cxx +++ b/vncviewer/Viewport.cxx @@ -43,10 +43,6 @@ using namespace rfb; -#ifdef __APPLE__ -extern "C" const char *osx_event_string(void); -#endif - extern void exit_vncviewer(); extern void about_vncviewer(); diff --git a/vncviewer/osx_utils.m b/vncviewer/osx_utils.m deleted file mode 100644 index fdb19854..00000000 --- a/vncviewer/osx_utils.m +++ /dev/null @@ -1,25 +0,0 @@ -/* 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. - */ - -#import <Cocoa/Cocoa.h> - -const char *osx_event_string(void) -{ - return [[[NSApp currentEvent] charactersIgnoringModifiers] UTF8String]; -} - |