Use proper namespace for iostream classes
[AXE.git] / demos / doodle1.cpp
1 /**************************************************************************
2 **  (c) Copyright 2002, Andromeda Technology & Automation
3 ***************************************************************************
4 ** MODULE INFORMATION *
5 ***********************
6 **      FILE NAME      : doodle1.cpp
7 **      SYSTEM NAME    : AXE - Andromeda X-windows Encapsulation
8 **      VERSION NUMBER : $Revision: 1.2 $
9 **
10 **  DESCRIPTION      :  Doodle is an exmaple application to demonstrate
11 **                      the functions in AXE as a tutorial.
12 **                      The first phase shows the absolute minimum to
13 **                      make an AXE application. All it does is create a
14 **                      main window. You have 'ctrl-C' to quit.
15 **
16 **  EXPORTED OBJECTS : 
17 **  LOCAL    OBJECTS : 
18 **  MODULES  USED    :
19 ***************************************************************************
20 **  ADMINISTRATIVE INFORMATION *
21 ********************************
22 **      ORIGINAL AUTHOR : Arjen Baart - arjen@andromeda.nl
23 **      CREATION DATE   : Feb 27, 2002
24 **************************************************************************/
25
26 /*****************************
27    $Log: doodle1.cpp,v $
28    Revision 1.2  2002-11-04 07:44:45  arjen
29    Use proper namespace for iostream classes
30    Use local header files and not the installed ones.
31
32    Revision 1.1  2002/07/25 08:01:18  arjen
33    First checkin, AXE release 0.2
34
35 *****************************/
36
37 static const char *RCSID = "$Id: doodle1.cpp,v 1.2 2002-11-04 07:44:45 arjen Exp $";
38
39 #include "xappl.h"
40
41 class doodle: public xapplication
42 {
43    managed_window *main_frame;
44
45    virtual void SetupResources(void);
46 };
47
48 doodle DoodleApp;
49
50 void doodle::SetupResources()
51 {
52    main_frame = new managed_window("Doodling with AXE");
53    main_frame->Map();
54 }