Revert "[Tizen] Added 'make clean' on each profile build."
[platform/core/uifw/dali-adaptor.git] / adaptors / emscripten / sdl-gl-sync-abstraction.h
1 #ifndef __DALI_INTEGRATION_SDL_GL_SYNC_ABSTRACTION_H__
2 #define __DALI_INTEGRATION_SDL_GL_SYNC_ABSTRACTION_H__
3
4 //
5 // Copyright (c) 2014 Samsung Electronics Co., Ltd.
6 //
7 // Licensed under the Flora License, Version 1.0 (the License);
8 // you may not use this file except in compliance with the License.
9 // You may obtain a copy of the License at
10 //
11 //     http://floralicense.org/license/
12 //
13 // Unless required by applicable law or agreed to in writing, software
14 // distributed under the License is distributed on an AS IS BASIS,
15 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 // See the License for the specific language governing permissions and
17 // limitations under the License.
18 //
19
20 #include <dali/integration-api/gl-sync-abstraction.h>
21
22 namespace Dali
23 {
24
25 /**
26  *
27  * This is a stubb GLSyncAbstraction class to pass to core for the Emscripten/browser environment
28  */
29 class DALI_IMPORT_API SdlGlSyncAbstraction : public Dali::Integration::GlSyncAbstraction
30 {
31 public:
32
33   virtual ~SdlGlSyncAbstraction();
34
35   /**
36    * @copydoc Dali::Integration::GlSyncAbstraction::CreateSyncObject()
37    */
38   virtual Integration::GlSyncAbstraction::SyncObject* CreateSyncObject();
39
40   /**
41    * @copydoc Dali::Integration::GlSyncAbstraction::DestroySyncObject(Integration::GlSyncAbstraction::SyncObject* syncObject)
42    */
43   virtual void DestroySyncObject(Integration::GlSyncAbstraction::SyncObject* syncObject);
44 };
45
46 } // namespace Dali
47
48 #endif // __DALI_INTEGRATION_SDL_GL_SYNC_ABSTRACTION_H__