mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +00:00
run indent on the whole tree and update copyright dates in prep for 1.0.5
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16579 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -7,41 +7,39 @@ extern "C" {
|
||||
#include <lualib.h>
|
||||
#include "mod_lua_extra.h"
|
||||
}
|
||||
|
||||
#include <switch_cpp.h>
|
||||
|
||||
namespace LUA {
|
||||
class Session : public CoreSession {
|
||||
private:
|
||||
virtual void do_hangup_hook();
|
||||
lua_State *getLUA();
|
||||
lua_State *L;
|
||||
int hh;
|
||||
int mark;
|
||||
public:
|
||||
Session();
|
||||
Session(char *uuid, CoreSession *a_leg = NULL);
|
||||
Session(switch_core_session_t *session);
|
||||
~Session();
|
||||
SWITCH_MOD_DECLARE(virtual void) destroy(void);
|
||||
|
||||
virtual bool begin_allow_threads();
|
||||
virtual bool end_allow_threads();
|
||||
virtual void check_hangup_hook();
|
||||
class Session:public CoreSession {
|
||||
private:
|
||||
virtual void do_hangup_hook();
|
||||
lua_State *getLUA();
|
||||
lua_State *L;
|
||||
int hh;
|
||||
int mark;
|
||||
public:
|
||||
Session();
|
||||
Session(char *uuid, CoreSession * a_leg = NULL);
|
||||
Session(switch_core_session_t *session);
|
||||
~Session();
|
||||
SWITCH_MOD_DECLARE(virtual void) destroy(void);
|
||||
|
||||
virtual switch_status_t run_dtmf_callback(void *input, switch_input_type_t itype);
|
||||
void unsetInputCallback(void);
|
||||
void setInputCallback(char *cbfunc, char *funcargs = NULL);
|
||||
void setHangupHook(char *func, char *arg = NULL);
|
||||
bool ready();
|
||||
int originate(CoreSession *a_leg_session, char *dest, int timeout);
|
||||
|
||||
char *cb_function;
|
||||
char *cb_arg;
|
||||
char *hangup_func_str;
|
||||
char *hangup_func_arg;
|
||||
void setLUA(lua_State *state);
|
||||
virtual bool begin_allow_threads();
|
||||
virtual bool end_allow_threads();
|
||||
virtual void check_hangup_hook();
|
||||
|
||||
};
|
||||
virtual switch_status_t run_dtmf_callback(void *input, switch_input_type_t itype);
|
||||
void unsetInputCallback(void);
|
||||
void setInputCallback(char *cbfunc, char *funcargs = NULL);
|
||||
void setHangupHook(char *func, char *arg = NULL);
|
||||
bool ready();
|
||||
int originate(CoreSession * a_leg_session, char *dest, int timeout);
|
||||
|
||||
char *cb_function;
|
||||
char *cb_arg;
|
||||
char *hangup_func_str;
|
||||
char *hangup_func_arg;
|
||||
void setLUA(lua_State * state);
|
||||
|
||||
};
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user