53 lines
1.3 KiB
C
53 lines
1.3 KiB
C
|
|
//
|
||
|
|
// IosHelper.h
|
||
|
|
// kkddz
|
||
|
|
//
|
||
|
|
// Created by macbook110 on 13-6-4.
|
||
|
|
//
|
||
|
|
//
|
||
|
|
|
||
|
|
#ifndef __kkddz__IosHelper__
|
||
|
|
#define __kkddz__IosHelper__
|
||
|
|
|
||
|
|
#import <TencentLBS/TencentLBS.h>
|
||
|
|
|
||
|
|
#include <iostream>
|
||
|
|
using namespace std;
|
||
|
|
|
||
|
|
class IosHelper {
|
||
|
|
|
||
|
|
|
||
|
|
public:
|
||
|
|
//微信登录
|
||
|
|
static void sendAuthRequest();
|
||
|
|
|
||
|
|
static void startBrowserJni( const char * url);
|
||
|
|
|
||
|
|
//分享文本到微信朋友
|
||
|
|
static void shareWithWeixinFriendTxt(const char * pTxt);
|
||
|
|
//分享文本到微信朋友圈
|
||
|
|
static void shareWithWeixinCircleTxt(const char * pTxt);
|
||
|
|
|
||
|
|
//分享url到微信朋友
|
||
|
|
static void shareWithWeixinFriendUrl(const char * pTxt,const char* kDesc,const char * pUrl);
|
||
|
|
//分享url到微信朋友圈
|
||
|
|
static void shareWithWeixinCircleUrl(const char * pTxt,const char* kDesc,const char * pUrl);
|
||
|
|
|
||
|
|
static void shareWithWeixinFriendImg(const char * pTxt,const char *FileName);
|
||
|
|
|
||
|
|
static void shareWithWeixinCircleImg(const char * pTxt,const char *FileName);
|
||
|
|
static void sharedComplete();
|
||
|
|
|
||
|
|
|
||
|
|
static void beginRecord(const char *_fileName);
|
||
|
|
static const char * endRecord();
|
||
|
|
|
||
|
|
static std::string strWXTodo;
|
||
|
|
static int nWXTodoType;
|
||
|
|
|
||
|
|
static TencentLBSLocationManager *locationManager;
|
||
|
|
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif /* defined(__kkddz__IosHelper__) */
|