All Classes Functions Variables Typedefs Friends Pages
ISmsProvider.h
1 //------------------------------------------------------------------------------
2 //
3 // Copyright (c) 2012 Glympse Inc. All rights reserved.
4 //
5 //------------------------------------------------------------------------------
6 
7 #ifndef ISMSPROVIDER_H__GLYMPSE__
8 #define ISMSPROVIDER_H__GLYMPSE__
9 
10 namespace Glympse
11 {
12 
19 /*O*public**/ struct ISmsProvider : public ICommon
20 {
34  public: virtual int32 canDeviceSendSms() = 0;
35 
48  public: virtual bool sendSms(const GString& address, const GString& message, const GSmsListener& listener) = 0;
49 };
50 
51 /*C*/typedef O< ISmsProvider > GSmsProvider;
52 
53 }
54 
55 #endif // !ISMSPROVIDER_H__GLYMPSE__