Skip to content
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.

Commit

Permalink
Merge pull request #1 from sakhnik/master
Browse files Browse the repository at this point in the history
Built on RHEL5.3
  • Loading branch information
vbouchaud committed Oct 18, 2011
2 parents 4cff2ac + b53d98b commit 5ba2e70
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion configure.in
Expand Up @@ -108,7 +108,7 @@ AC_SUBST(GSM_VERSION)
dnl national language support (NLS) dnl national language support (NLS)
LINGUAS="de" LINGUAS="de"
ALL_LINGUAS=$LINGUAS ALL_LINGUAS=$LINGUAS
AM_GNU_GETTEXT AM_GLIB_GNU_GETTEXT


dnl set locale dir (FIXME there must be a better way) dnl set locale dir (FIXME there must be a better way)
_localedir=`eval "echo $datadir/locale"` _localedir=`eval "echo $datadir/locale"`
Expand Down
2 changes: 1 addition & 1 deletion ext/gsmsiectl.cc
Expand Up @@ -18,7 +18,7 @@
#if defined(HAVE_GETOPT_LONG) || defined(WIN32) #if defined(HAVE_GETOPT_LONG) || defined(WIN32)
#include <getopt.h> #include <getopt.h>
#endif #endif
#include <strstream> #include <sstream>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <errno.h> #include <errno.h>
Expand Down
2 changes: 2 additions & 0 deletions gsmlib/gsm_event.h
Expand Up @@ -31,6 +31,8 @@ namespace gsmlib
void dispatch(std::string s, GsmAt &at) throw(GsmException); void dispatch(std::string s, GsmAt &at) throw(GsmException);


public: public:
virtual ~GsmEvent() { }

// for SMSReception, type of SMS // for SMSReception, type of SMS
enum SMSMessageType {NormalSMS, CellBroadcastSMS, StatusReportSMS}; enum SMSMessageType {NormalSMS, CellBroadcastSMS, StatusReportSMS};


Expand Down
2 changes: 2 additions & 0 deletions gsmlib/gsm_sorted_phonebook_base.h
Expand Up @@ -186,6 +186,8 @@ namespace gsmlib
class CustomPhonebookFactory class CustomPhonebookFactory
{ {
public: public:
virtual ~CustomPhonebookFactory() { }

// return sorted phonebook object given the source specification // return sorted phonebook object given the source specification
// (eg. database name, URL, etc.) // (eg. database name, URL, etc.)
virtual SortedPhonebookRef createPhonebook(std::string source) virtual SortedPhonebookRef createPhonebook(std::string source)
Expand Down
4 changes: 4 additions & 0 deletions gsmlib/gsm_util.h
Expand Up @@ -186,6 +186,8 @@ namespace gsmlib
class InterruptBase class InterruptBase
{ {
public: public:
virtual ~InterruptBase() { }

// this member should return true if gsmlib is to be interrupted // this member should return true if gsmlib is to be interrupted
virtual bool interrupted() = 0; virtual bool interrupted() = 0;
}; };
Expand All @@ -201,6 +203,8 @@ namespace gsmlib
class ProgressBase class ProgressBase
{ {
public: public:
virtual ~ProgressBase() { }

// override this to receive progress reports // override this to receive progress reports
virtual void reportProgress(int part, int total) = 0; virtual void reportProgress(int part, int total) = 0;
}; };
Expand Down
2 changes: 1 addition & 1 deletion gsmlib/gsm_win32_serial.cc
Expand Up @@ -19,7 +19,7 @@
#include <gsmlib/gsm_util.h> #include <gsmlib/gsm_util.h>
#include <fcntl.h> #include <fcntl.h>
#include <iostream> #include <iostream>
#include <strstream> #include <sstream>
#include <errno.h> #include <errno.h>
#include <stdio.h> #include <stdio.h>
#include <assert.h> #include <assert.h>
Expand Down
2 changes: 1 addition & 1 deletion tests/testssms.cc
Expand Up @@ -3,7 +3,7 @@
#include <gsmlib/gsm_phonebook.h> #include <gsmlib/gsm_phonebook.h>
#include <algorithm> #include <algorithm>
#include <iostream> #include <iostream>
#include <strstream> #include <sstream>


using namespace std; using namespace std;
using namespace gsmlib; using namespace gsmlib;
Expand Down

0 comments on commit 5ba2e70

Please sign in to comment.