[go: up one dir, main page]

Menu

[14870f]: / luathread.h  Maximize  Restore  History

Download this file

28 lines (19 with data), 575 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
/////////////////////////////////////////////////////////////////////////////////
// Author: Steven Lamerton
// Copyright: Copyright (C) 2009 Steven Lamerton
// License: GNU GPL 2 (See readme for more info)
/////////////////////////////////////////////////////////////////////////////////
#ifndef H_LUATHREAD
#define H_LUATHREAD
#include <wx/thread.h>
#include <wx/string.h>
struct lua_State;
class LuaThread : public wxThread {
public:
LuaThread(const wxString &line);
virtual void *Entry();
private:
lua_State *m_State;
wxString m_Command;
};
#endif