1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include <ppapi/cpp/core.h>
#include <ppapi/cpp/instance.h>
#include "global.h"
static google_smart_card::TypedMessageRouter tmr;
void pcscNaClInit(pp::Instance *instance, pp::Core *core, const char *smartcardManagerAppId, const char *clientId) {
new google_smart_card::PcscLiteOverRequesterGlobal(&tmr, instance, core);
return;
/* UNREACH: These are no longer used */
smartcardManagerAppId = smartcardManagerAppId;
clientId = clientId;
}
bool pcscNaClHandleMessage(const pp::Var &message) {
return(tmr.OnMessageReceived(message));
}
|
|
<
<
<
<
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include <ppapi/cpp/core.h>
#include <ppapi/cpp/instance.h>
#include "global.h"
static google_smart_card::TypedMessageRouter tmr;
void pcscNaClInit(pp::Instance *instance, pp::Core *core) {
new google_smart_card::PcscLiteOverRequesterGlobal(&tmr, instance, core);
return;
}
bool pcscNaClHandleMessage(const pp::Var &message) {
return(tmr.OnMessageReceived(message));
}
|