
var cordova = require('cordova');

module.exports = {
	Scene: {
        QQ:  0, // QQ 好友
        QQZone: 1, // QQ 空间
        Favorite: 2  // 收藏
    },
    ClientType: {
        QQ:  0, // QQ 手机客户端
        TIM: 1, // TIM 客户端
    },
	ssoLogin:function(successCallback, errorCallback){
		cordova.exec(successCallback, errorCallback, "QQSDK", "ssoLogin",[args]);
	},
	logout:function(successCallback, errorCallback){
		cordova.exec(successCallback, errorCallback, "QQSDK", "logout", []);
	},
	checkClientInstalled:function(successCallback, errorCallback){
		cordova.exec(successCallback, errorCallback, "QQSDK", "checkClientInstalled", [args]);
	},
	shareText:function(successCallback, errorCallback,args){
		cordova.exec(successCallback, errorCallback, "QQSDK", "shareText", [args]);
	},
	shareImage:function(successCallback, errorCallback,args){
		cordova.exec(successCallback, errorCallback, "QQSDK", "shareImage", [args]);
	},
	shareNews:function(successCallback, errorCallback,args){
		cordova.exec(successCallback, errorCallback, "QQSDK", "shareNews", [args]);
	},
	shareAudio:function(successCallback, errorCallback,args){
		cordova.exec(successCallback, errorCallback, "QQSDK", "shareAudio", [args]);
	},
};


@@ -28,17 +28,16 @@
 dova');%0A
-%0A
 module.e
@@ -204,17 +204,16 @@
   TIM: 1
-,
  // TIM 
@@ -264,32 +264,38 @@
 k, errorCallback
+, args
 )%7B%0A%09%09cordova.exe
@@ -539,32 +539,38 @@
 k, errorCallback
+, args
 )%7B%0A%09%09cordova.exe
@@ -692,32 +692,33 @@
 , errorCallback,
+ 
 args)%7B%0A%09%09cordova
@@ -834,32 +834,33 @@
 , errorCallback,
+ 
 args)%7B%0A%09%09cordova
@@ -976,32 +976,33 @@
 , errorCallback,
+ 
 args)%7B%0A%09%09cordova
@@ -1126,16 +1126,17 @@
 allback,
+ 
 args)%7B%0A%09
@@ -1220,9 +1220,8 @@
 %0A%09%7D,%0A%7D;%0A
-%0A

update qq.js