diff options
author | Robert Bieber <robby@bieberphoto.com> | 2010-05-29 00:04:04 +0000 |
---|---|---|
committer | Robert Bieber <robby@bieberphoto.com> | 2010-05-29 00:04:04 +0000 |
commit | 6980c1e9988a7c959876ad77b760e042272a9ec2 (patch) | |
tree | 3b9ca757bfe83f8bef1ac9bcf544b1d47b542e8e /utils/themeeditor/parsetreemodel.h | |
parent | 1dcc21d8466a6279ff79c8b9ee02bc5cfc7f5167 (diff) | |
download | rockbox-6980c1e9988a7c959876ad77b760e042272a9ec2.tar.gz rockbox-6980c1e9988a7c959876ad77b760e042272a9ec2.zip |
Theme Editor: Got code generation tentatively working along with a solid C++ tree structure for WPS parse trees
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26367 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/parsetreemodel.h')
-rw-r--r-- | utils/themeeditor/parsetreemodel.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/themeeditor/parsetreemodel.h b/utils/themeeditor/parsetreemodel.h index 78484eb5f4..64365ed038 100644 --- a/utils/themeeditor/parsetreemodel.h +++ b/utils/themeeditor/parsetreemodel.h @@ -43,15 +43,19 @@ public: ParseTreeModel(char* wps, QObject* parent = 0); virtual ~ParseTreeModel(); + QString genCode(); + + /* QModelIndex index(int row, int column, const QModelIndex& parent) const; QModelIndex parent(const QModelIndex &child) const; int rowCount(const QModelIndex &parent) const; int columnCount(const QModelIndex &parent) const; QVariant data(const QModelIndex &index, int role) const; + */ private: ParseTreeNode* root; - struct skin_element* wps; + struct skin_element* tree; }; |