From afc7d14b64794ca31d6170334605b2281c3fb765 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Fri, 20 May 2011 12:12:59 +0000 Subject: Remove no longer used code. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4435 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- vncviewer/CMakeLists.txt | 4 ---- vncviewer/Viewport.cxx | 4 ---- vncviewer/osx_utils.m | 25 ------------------------- 3 files changed, 33 deletions(-) delete mode 100644 vncviewer/osx_utils.m (limited to 'vncviewer') 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 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 - -const char *osx_event_string(void) -{ - return [[[NSApp currentEvent] charactersIgnoringModifiers] UTF8String]; -} - -- cgit v1.2.3