Beispiel #1
0
void VJSGroup::_getID( XBOX::VJSParms_getProperty& ioParms, CUAGGroup* inGroup)
{
	VUUID id;
	inGroup->GetID(id);
	VString s;
	s.FromVUUID(id);
	ioParms.ReturnString(s);
}
Beispiel #2
0
void VJSUser::_getID( XBOX::VJSParms_getProperty& ioParms, CUAGUser* inUser)
{
	VUUID id;
	inUser->GetID(id);
	VString s;
	s.FromVUUID(id);
	ioParms.ReturnString(s);
}
Beispiel #3
0
void VJSSession::_getID( XBOX::VJSParms_getProperty& ioParms, CUAGSession* inSession)
{
	VString s;
	VUUID xid;
	inSession->GetID(xid);
	xid.GetString(s);
	ioParms.ReturnString(s);
}
void VJSXMLHttpRequest::_GetResponseText(XBOX::VJSParms_getProperty& ioParms, XMLHttpRequest* inXhr)
{
    if(inXhr)
    {
        XBOX::VString value;
        XBOX::VError res=inXhr->GetResponseText(&value);

        //returns an empty string on error
        ioParms.ReturnString(value);
    }
    else
        XBOX::vThrowError(VE_XHRQ_JS_BINDING_ERROR);
}
Beispiel #5
0
void VJSGroup::_getFullName( XBOX::VJSParms_getProperty& ioParms, CUAGGroup* inGroup)
{
	VString s;
	inGroup->GetFullName(s);
	ioParms.ReturnString(s);
}
Beispiel #6
0
void VJSUser::_getFullName( XBOX::VJSParms_getProperty& ioParms, CUAGUser* inUser)
{
	VString s;
	inUser->GetFullName(s);
	ioParms.ReturnString(s);
}