forked from rburkholder/trade-frame
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TreeOps.h
58 lines (45 loc) · 1.95 KB
/
TreeOps.h
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/************************************************************************
* Copyright(c) 2015, One Unified. All rights reserved. *
* email: [email protected] *
* *
* This file is provided as is WITHOUT ANY WARRANTY *
* without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* *
* This software may not be used nor distributed without proper license *
* agreement. *
* *
* See the file LICENSE.txt for redistribution information. *
************************************************************************/
// started December 21, 2015, 10:22 PM
#pragma once
#include <TFBitsNPieces/TreeOps.h>
#include "TreeItem.h"
class TreeOps: public ou::tf::TreeOps {
public:
TreeOps();
TreeOps(
wxWindow* parent,
wxWindowID id = SYMBOL_TREEOPS_IDNAME,
const wxPoint& pos = SYMBOL_TREEOPS_POSITION,
const wxSize& size = SYMBOL_TREEOPS_SIZE,
long style = SYMBOL_TREEOPS_STYLE );
bool Create(
wxWindow* parent,
wxWindowID id = SYMBOL_TREEOPS_IDNAME,
const wxPoint& pos = SYMBOL_TREEOPS_POSITION,
const wxSize& size = SYMBOL_TREEOPS_SIZE,
long style = SYMBOL_TREEOPS_STYLE );
virtual ~TreeOps();
void PopulateResources( Resources& resources );
template<typename RootItemType>
void Save( boost::archive::text_oarchive& oa) {
ou::tf::TreeOps::Save<RootItemType>( oa );
}
template<typename RootItemType>
void Load( boost::archive::text_iarchive& ia) {
ou::tf::TreeOps::Load<RootItemType>( ia );
}
protected:
private:
};