-
Notifications
You must be signed in to change notification settings - Fork 165
/
Copy pathEventIBInstrument.h
40 lines (29 loc) · 1.55 KB
/
EventIBInstrument.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
/************************************************************************
* Copyright(c) 2013, 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 2013/11/16
#pragma once
#include <wx/wx.h>
#include <TFTrading/Instrument.h>
class EventIBInstrument: public wxEvent {
public:
typedef ou::tf::Instrument::pInstrument_t pInstrument_t;
EventIBInstrument( wxEventType eventType, int winid, pInstrument_t pInstrument );
~EventIBInstrument(void);
pInstrument_t& GetInstrument( void ) { return m_pInstrument; };
virtual EventIBInstrument* Clone( void ) const { return new EventIBInstrument( *this ); }
protected:
private:
pInstrument_t m_pInstrument;
};
wxDECLARE_EVENT(EVENT_IB_INSTRUMENT, EventIBInstrument);