#include <target.h>
Public Member Functions | |
Target (Application *App) | |
virtual | ~Target () |
void | SetWindow (GtkWindow *window) |
virtual bool | Close ()=0 |
Application * | GetApplication (void) |
Protected Attributes | |
Application * | m_Application |
Document * | m_Document |
Definition at line 45 of file target.h.
gcp::Target::Target | ( | Application * | App | ) |
App | the application owning the target. |
virtual gcp::Target::~Target | ( | ) | [virtual] |
The destructor.
virtual bool gcp::Target::Close | ( | ) | [pure virtual] |
virtual method called when the application ends to ensure everything is correctly closed. This is a pure virtual class, so it must be overloaded.
Implemented in gcp::Window.
gcp::Target::GetApplication | ( | void | ) | [inline] |
the gcp::Document displayed in this target window.
void gcp::Target::SetWindow | ( | GtkWindow * | window | ) |
window | a GtkWindow. |
gcp::Target::m_Application [protected] |
The gcp::Application owning this target.
gcp::Target::m_Document [protected] |
The gcp::Document displayed in this target window.