Defines

RemoteDefines.hpp File Reference

Go to the source code of this file.

Defines

#define REMOTE_QUIT   "rem_quit"
#define RPARAM_LIST_COUNT(__name)   TString(__name) + TString(L"___count")
#define RPARAM_LIST_ITEM(__name, __index)   TString(__name) + TString(L"___") + (Int)__index

Define Documentation

#define REMOTE_QUIT   "rem_quit"

Defines the method to quit the connection

#define RPARAM_LIST_COUNT (   __name )    TString(__name) + TString(L"___count")

Returns the parameter name for a list count. This is used if you want to submit a list of data. Therefore you add a parameter containing the count of the list, followed by elements. Add the elements using the macro RPARAM_LIST_ITEM.

Parameters:
__name: Name of the list parameter
#define RPARAM_LIST_ITEM (   __name,
  __index 
)    TString(__name) + TString(L"___") + (Int)__index

Returns a parameter name for an item. How to use see RPARAM_LIST_COUNT description.

Parameters:
__name: Name of the list parameter
__index: Index of the item
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Written by Benjamin Hadorn http://www.xatlantis.ch.
Last change made on Sun Jan 22 2012 15:28:21