diff options
Diffstat (limited to 'examples/Smart_Pointers/Widget.h')
-rw-r--r-- | examples/Smart_Pointers/Widget.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/examples/Smart_Pointers/Widget.h b/examples/Smart_Pointers/Widget.h deleted file mode 100644 index a38245ca999..00000000000 --- a/examples/Smart_Pointers/Widget.h +++ /dev/null @@ -1,40 +0,0 @@ -/* -*- C++ -*- */ -//============================================================================= -/** - * @file Widget.h - * - * $Id$ - * - * @author Christopher Kohlhoff <chris@kohlhoff.com> - */ -//============================================================================= - -#ifndef WIDGET_H -#define WIDGET_H - -#include "Widget_Part.h" - -/** - * @class Widget - * - * @brief An interface for some high-level application object. - */ -class Widget -{ -public: - /// Destructor. - virtual ~Widget (void); - - /// Add a new part to the widget. The widget takes ownership of the part - /// object. - virtual void add_part (Widget_Part *part) = 0; - - /// Remove a random part from the widget. Ownership of the part is returned - /// to the caller. - virtual Widget_Part *remove_part (void) = 0; - - /// Ask the widget to print information about the parts that it contains. - virtual void list_parts (void) = 0; -}; - -#endif /* WIDGET_H */ |