diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-05-14 22:04:48 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-05-14 22:04:48 +0000 |
commit | 4d50b2584fbf4c05cb9163e52a7b33aea87a29d2 (patch) | |
tree | 3e4d4c154a1e51777a166fa4787f9b72ca9fbf9f /examples/Smart_Pointers/Widget.h | |
parent | 7fc95e2c87a32e2b6c87bdd5bbf88a649733412d (diff) | |
download | ATCD-4d50b2584fbf4c05cb9163e52a7b33aea87a29d2.tar.gz |
This commit was manufactured by cvs2svn to create tag 'smcq030515'.smcq030515
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 */ |