00001 #ifndef KDE__PAINTDEVICE_H
00002 #define KDE__PAINTDEVICE_H
00003
00004 #include <faith/application.h>
00005 #include <faith/font.h>
00006
00007 namespace Faith
00008 {
00009
00010 namespace Internal
00011 {
00012 class Drawable;
00013 }
00014
00015
00020 class FAITH_CORE_EXPORT PaintDevice
00021 {
00022 friend class Painter;
00023 public:
00024 PaintDevice();
00025 virtual ~PaintDevice();
00026 virtual Handle handle()=0;
00027
00028 private:
00029 virtual Internal::Drawable *getDrawable()=0;
00030 };
00031
00032 }
00033
00034 #endif