class_treeprojectfiles.h 709 Bytes
Newer Older
charras's avatar
charras committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
/*
 * file class_treeprojectfiles.h
 */

#ifndef CLASS_TREEPROJECTFILES_H
#define CLASS_TREEPROJECTFILES_H

/** Class TREEPROJECTFILES
 * This is the class to show (as a tree) the files in the project directory
 */
class TREEPROJECTFILES : public wxTreeCtrl
{
    DECLARE_DYNAMIC_CLASS( TREEPROJECTFILES )
private:
    TREE_PROJECT_FRAME* m_Parent;
    wxImageList*     m_ImageList;

public:

    TREE_PROJECT_FRAME* GetParent()
    {
        return m_Parent;
    }


    TREEPROJECTFILES( TREE_PROJECT_FRAME* parent );
    ~TREEPROJECTFILES();
private:
    /* overridden sort function */
    int OnCompareItems( const wxTreeItemId& item1, const wxTreeItemId& item2 );
};

#endif  // CLASS_TREEPROJECTFILES_H