All Classes Functions Variables Typedefs Friends Pages
IApplicationsManager.h
1 //------------------------------------------------------------------------------
2 //
3 // Copyright (c) 2014 Glympse Inc. All rights reserved.
4 //
5 //------------------------------------------------------------------------------
6 
7 #ifndef IAPPLICATIONSMANAGER_H__GLYMPSE__
8 #define IAPPLICATIONSMANAGER_H__GLYMPSE__
9 
10 namespace Glympse
11 {
12 
16 /*O*public**/ struct IApplicationsManager : public IEventSink
17 {
21  public: virtual GArray<GApplication>::ptr getApplications() = 0;
22 
26  public: virtual bool isInstalled(const GApplication& application) = 0;
27 
31  public: virtual bool canInstall(const GApplication& application) = 0;
32 
36  public: virtual bool install(const GApplication& application) = 0;
37 
46  public: virtual bool canSend(const GInvite& invite) = 0;
47 };
48 
50 
51 }
52 
53 #endif // !IAPPLICATIONSMANAGER_H__GLYMPSE__