FireBreath  1.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
AsyncDrawService.h
1 /**********************************************************\
2 Original Author: Gil Gonen
3 
4 Created: Jan 3, 2013
5 License: Dual license model; choose one of two:
6  New BSD License
7  http://www.opensource.org/licenses/bsd-license.php
8  - or -
9  GNU Lesser General Public License, version 2.1
10  http://www.gnu.org/licenses/lgpl-2.1.html
11 
12 Copyright 2013 Gil Gonen and the Firebreath development team
13 \**********************************************************/
14 
15 #pragma once
16 #ifndef H_FB_ASYNCDRAWSERVICE
17 #define H_FB_ASYNCDRAWSERVICE
18 
19 #include "FBPointers.h"
20 #include "fb_stdint.h"
21 #include "boost/enable_shared_from_this.hpp"
22 
23 namespace FB {
24  FB_FORWARD_PTR(AsyncDrawService);
25 
34  public boost::enable_shared_from_this<AsyncDrawService>
35  {
36  public:
37  virtual ~AsyncDrawService() {};
38  virtual void resized(uint32_t width, uint32_t height) = 0;
39  };
40 };
41 
42 #endif
asynchronous drawing service base class.