Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
provide a winxed include file and use it in the examples
  • Loading branch information
NotFound committed Jul 14, 2011
1 parent c49a619 commit 6e298c7
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 51 deletions.
25 changes: 25 additions & 0 deletions WinxedGtk.winxhead
@@ -0,0 +1,25 @@
// Include file for WinxedGtk module

namespace WinxedGtk
{

class VBox;
class HBox;
class ScrolledWindow;
class Window;
class Label;
class Button;
class Entry;
class TextView;
class DrawingArea;
class Image;
class Tree;
class TreeItem;
class MenuBar;
class MenuItem;
class Menu;
class CList;

}

// End
21 changes: 2 additions & 19 deletions examples/jsontree.winxed
Expand Up @@ -4,26 +4,9 @@

$load 'WinxedGtk.pbc';

//**********************************************************************

namespace WinxedGtk
{
$include 'WinxedGtk.winxhead';

class VBox;
class HBox;
class ScrolledWindow;
class Window;
class Label;
class Button;
class Entry;
class Image;
class Tree;
class TreeItem;
class MenuBar;
class MenuItem;
class Menu;

}
//**********************************************************************

using namespace WinxedGtk;

Expand Down
15 changes: 2 additions & 13 deletions examples/table.winxed
Expand Up @@ -3,21 +3,10 @@
$load 'WinxedGtk.pbc';
$load 'Mysql.pbc';

//**********************************************************************

namespace WinxedGtk
{
$include 'WinxedGtk.winxhead';

class VBox;
class HBox;
class Window;
class Label;
class Button;
class Entry;
class Image;
class CList;
//**********************************************************************

}

using namespace WinxedGtk;

Expand Down
20 changes: 1 addition & 19 deletions examples/testgtk.winxed
Expand Up @@ -4,25 +4,7 @@ $load 'WinxedGtk.pbc';

//**********************************************************************

namespace WinxedGtk
{

class VBox;
class HBox;
class Window;
class Label;
class Button;
class Entry;
class TextView;
class Image;
class DrawingArea;
class Tree;
class TreeItem;
class MenuItem;
class MenuBar;
class Menu;

}
$include 'WinxedGtk.winxhead';

using namespace WinxedGtk;

Expand Down
1 change: 1 addition & 0 deletions setup.winxed
Expand Up @@ -48,6 +48,7 @@ function main(argv)
"pbc_pir" : {
"build/WinxedGtk.pbc" : "pir/WinxedGtk.pir"
},
"inst_inc" : "WinxedGtk.winxhead",
"inst_lib" : "build/WinxedGtk.pbc"
}
//END_JSON_SETUP
Expand Down

0 comments on commit 6e298c7

Please sign in to comment.