Initial merge-commit of the OIC code. Should successfully do discovery for single...
[platform/upstream/iotivity.git] / include / IClientWrapper.h
1 //******************************************************************
2 //
3 // Copyright 2014 Intel Corporation All Rights Reserved.
4 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
5
6 #ifndef _I_CLIENT_WRAPPER_H_
7 #define _I_CLIENT_WRAPPER_H_
8
9 #include <memory>
10 #include <string>
11
12 #include <OCApi.h>
13 #include <OCResource.h>
14
15 namespace OC
16 {
17         class OCResource;
18     class IClientWrapper
19     {
20     public:
21         typedef std::shared_ptr<IClientWrapper> Ptr;
22
23         virtual int ListenForResource(const std::string& serviceUrl, const std::string& resourceType,
24             std::function<void(OCResource::Ptr)>& callback) = 0;
25         virtual ~IClientWrapper(){}
26
27     private:
28     };
29 }
30
31 #endif