ASPiK SDK
win32bitmapbase.h
1 // This file is part of VSTGUI. It is subject to the license terms
2 // in the LICENSE file found in the top-level directory of this
3 // distribution and at http://github.com/steinbergmedia/vstgui/LICENSE
4 
5 #ifndef __win32bitmapbase__
6 #define __win32bitmapbase__
7 
8 #include "../iplatformbitmap.h"
9 
10 #if WINDOWS
11 
12 #include <windows.h>
13 #include <objidl.h>
14 
15 namespace VSTGUI {
16 
17 class Win32BitmapBase : public IPlatformBitmap
18 {
19 public:
20  virtual HBITMAP createHBitmap () = 0;
21  virtual bool loadFromStream (IStream* stream) = 0;
22  virtual PNGBitmapBuffer createMemoryPNGRepresentation () = 0;
23 };
24 
25 } // namespace
26 
27 #endif // WINDOWS
28 
29 #endif // __win32bitmapbase__
Definition: customcontrols.cpp:8