[go: up one dir, main page]

Menu

[96b3e1]: / luathread.h  Maximize  Restore  History

Download this file

30 lines (21 with data), 649 Bytes

 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
/////////////////////////////////////////////////////////////////////////////////
// Author: Steven Lamerton
// Copyright: Copyright (C) 2009 - 2010 Steven Lamerton
// License: GNU GPL 2 http://www.gnu.org/licenses/gpl-2.0.html
/////////////////////////////////////////////////////////////////////////////////
#ifndef H_LUATHREAD
#define H_LUATHREAD
#include <wx/thread.h>
#include <wx/string.h>
#include <wx/datetime.h>
struct lua_State;
class LuaThread : public wxThread {
public:
LuaThread(const wxString &line);
virtual void *Entry();
private:
wxDateTime m_StartTime;
lua_State *m_State;
wxString m_Command;
};
#endif