Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / ACE / examples / Smart_Pointers / Widget_Part.h
blob4661e0b013f29595f0789b504cb71156faa313b9
1 /* -*- C++ -*- */
2 //=============================================================================
3 /**
4 * @file Widget_Part.h
6 * @author Christopher Kohlhoff <chris@kohlhoff.com>
7 */
8 //=============================================================================
10 #ifndef WIDGET_PART_H
11 #define WIDGET_PART_H
13 /**
14 * @class Widget_Part
16 * @brief An interface for some high-level application object.
18 class Widget_Part
20 public:
21 /// Destructor.
22 virtual ~Widget_Part ();
24 /// Ask the part to print information about itself.
25 virtual void print_info () = 0;
27 /// Ask the part to remove itself from the widget that contains it.
28 virtual void remove_from_owner () = 0;
31 #endif /* WIDGET_PART_H */