diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-10 19:59:37 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-10 19:59:37 +0000 |
commit | 3df4acfa816441fc28a95dee6d0191a927145d95 (patch) | |
tree | b5ae7ca44662cfd8e5c95f1826e4406021a606f5 /examples/Smart_Pointers/Widget.h | |
parent | 60a5612b83d856fc0adc52b9f39fac9960ec9818 (diff) | |
download | ATCD-pre-subset.tar.gz |
This commit was manufactured by cvs2svn to create tag 'pre-subset'.pre-subset
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 */ |