Use local header files and not the installed ones.
***********************
** FILE NAME : doodle1.cpp
** SYSTEM NAME : AXE - Andromeda X-windows Encapsulation
-** VERSION NUMBER : $Revision: 1.1 $
+** VERSION NUMBER : $Revision: 1.2 $
**
** DESCRIPTION : Doodle is an exmaple application to demonstrate
** the functions in AXE as a tutorial.
/*****************************
$Log: doodle1.cpp,v $
- Revision 1.1 2002-07-25 08:01:18 arjen
+ Revision 1.2 2002-11-04 07:44:45 arjen
+ Use proper namespace for iostream classes
+ Use local header files and not the installed ones.
+
+ Revision 1.1 2002/07/25 08:01:18 arjen
First checkin, AXE release 0.2
*****************************/
-static const char *RCSID = "$Id: doodle1.cpp,v 1.1 2002-07-25 08:01:18 arjen Exp $";
+static const char *RCSID = "$Id: doodle1.cpp,v 1.2 2002-11-04 07:44:45 arjen Exp $";
-#include <AXE/xappl.h>
+#include "xappl.h"
class doodle: public xapplication
{
***********************
** FILE NAME : doodle2.cpp
** SYSTEM NAME : AXE - Andromeda X-windows Encapsulation
-** VERSION NUMBER : $Revision: 1.1 $
+** VERSION NUMBER : $Revision: 1.2 $
**
** DESCRIPTION : Doodle is an exmaple application to demonstrate
** the functions in AXE as a tutorial.
/*****************************
$Log: doodle2.cpp,v $
- Revision 1.1 2002-07-25 08:01:18 arjen
+ Revision 1.2 2002-11-04 07:44:45 arjen
+ Use proper namespace for iostream classes
+ Use local header files and not the installed ones.
+
+ Revision 1.1 2002/07/25 08:01:18 arjen
First checkin, AXE release 0.2
*****************************/
-static const char *RCSID = "$Id: doodle2.cpp,v 1.1 2002-07-25 08:01:18 arjen Exp $";
+static const char *RCSID = "$Id: doodle2.cpp,v 1.2 2002-11-04 07:44:45 arjen Exp $";
-#include <AXE/xappl.h>
+#include "xappl.h"
class doodle_view : public window
{
***********************
** FILE NAME : doodle2.cpp
** SYSTEM NAME : AXE - Andromeda X-windows Encapsulation
-** VERSION NUMBER : $Revision: 1.1 $
+** VERSION NUMBER : $Revision: 1.2 $
**
** DESCRIPTION : Doodle is an exmaple application to demonstrate
** the functions in AXE as a tutorial.
/*****************************
$Log: doodle3.cpp,v $
- Revision 1.1 2002-07-25 08:01:18 arjen
+ Revision 1.2 2002-11-04 07:44:45 arjen
+ Use proper namespace for iostream classes
+ Use local header files and not the installed ones.
+
+ Revision 1.1 2002/07/25 08:01:18 arjen
First checkin, AXE release 0.2
*****************************/
-static const char *RCSID = "$Id: doodle3.cpp,v 1.1 2002-07-25 08:01:18 arjen Exp $";
+static const char *RCSID = "$Id: doodle3.cpp,v 1.2 2002-11-04 07:44:45 arjen Exp $";
-#include <AXE/xappl.h>
+#include "xappl.h"
class doodle_view : public window
{
#include <pthread.h>
#include <unistd.h>
-#include <AXE/button.h>
+#include "button.h"
#define CMD_QUIT 1
#define CMD_FASTER 2
{
BPM += 10;
}
- cout << BPM << "beats per minute\n";
+ std::cout << BPM << "beats per minute\n";
return 1;
case CMD_SLOWER:
{
BPM -= 10;
}
- cout << BPM << "beats per minute\n";
+ std::cout << BPM << "beats per minute\n";
return 1;
case CMD_QUIT: