From c7fb5a166181ac27a55f9c1e8177e51d35da9f4f Mon Sep 17 00:00:00 2001 From: yanmorin <yanmorin> Date: Wed, 14 Sep 2005 21:00:23 +0000 Subject: [PATCH] =?UTF-8?q?N=C3=A9cessair=20pour=20compiler=20server?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/gui/Makefile.am | 4 ++-- src/gui/guiframework.h | 19 +++++++++---------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/src/gui/Makefile.am b/src/gui/Makefile.am index 303b8b1879..cb8b1608f3 100644 --- a/src/gui/Makefile.am +++ b/src/gui/Makefile.am @@ -1,4 +1,4 @@ -SUBDIRS = qt +SUBDIRS = qt server noinst_LTLIBRARIES = libguiframework.la @@ -7,4 +7,4 @@ libguiframework_la_SOURCES = \ libguiframework_la_CPPFLAGS = -I$(top_srcdir) libguiframework_la_CXXFLAGS = $(libccext2_CFLAGS) -libguiframework_la_LIBADD = qt/libsflphoneqt.la \ No newline at end of file +libguiframework_la_LIBADD = qt/libsflphoneqt.la server/libsflphoneguiserver.la diff --git a/src/gui/guiframework.h b/src/gui/guiframework.h index edd4bcff7b..9eebfd80fd 100644 --- a/src/gui/guiframework.h +++ b/src/gui/guiframework.h @@ -24,7 +24,6 @@ /* The GuiFramework class is the base of all user interface */ #include <string> -using namespace std; class GuiFramework { public: @@ -36,12 +35,12 @@ public: virtual void peerAnsweredCall (short id) = 0; virtual int peerRingingCall (short id) = 0; virtual int peerHungupCall (short id) = 0; - virtual void displayTextMessage (short id, const string& message) = 0; - virtual void displayErrorText (short id, const string& message) = 0; - virtual void displayError (const string& error) = 0; - virtual void displayStatus (const string& status) = 0; + virtual void displayTextMessage (short id, const std::string& message) = 0; + virtual void displayErrorText (short id, const std::string& message) = 0; + virtual void displayError (const std::string& error) = 0; + virtual void displayStatus (const std::string& status) = 0; virtual void displayContext (short id) = 0; - virtual string getRingtoneFile (void) = 0; + virtual std::string getRingtoneFile (void) = 0; virtual void setup (void) = 0; virtual int selectedCall (void) = 0; virtual bool isCurrentId (short) = 0; @@ -49,13 +48,13 @@ public: virtual void stopVoiceMessageNotification (void) = 0; /* Child class to parent class */ - int outgoingCall (const string& to); + int outgoingCall (const std::string& to); int hangupCall (short id); int cancelCall (short id); int answerCall (short id); int onHoldCall (short id); int offHoldCall (short id); - int transferCall (short id, const string& to); + int transferCall (short id, const std::string& to); void muteOn (short id); void muteOff (short id); int refuseCall (short id); @@ -64,12 +63,12 @@ public: int registerVoIPLink (void); int unregisterVoIPLink (void); int quitApplication (void); - int sendTextMessage (short id, const string& message); + int sendTextMessage (short id, const std::string& message); int accessToDirectory (void); void sendDtmf (short id, char code); protected: - string _message; + std::string _message; }; -- GitLab