forked from leancloud/cpp-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAVOSCloud.cpp
More file actions
33 lines (26 loc) · 766 Bytes
/
AVOSCloud.cpp
File metadata and controls
33 lines (26 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/**
* @file AVOSCloud.cpp
* @author yang chaozhong <cyang@avoscloud.com>
* @date Tue Sep 2 14:48:54 2014
*
* @brief
*
* Copyright 2014 AVOS Cloud Inc. All rights reserved.
*/
#include <string>
#include "AVOSCloud.h"
#include "Request/AVPaasClient.h"
#include "AVFile/UploaderManager.h"
NS_AV_BEGIN
void AVOSCloud::setApplicationId(std::string applicationId,
std::string clientKey) {
AVPaasClient::sharedInstance()->applicationId = applicationId;
AVPaasClient::sharedInstance()->clientKey = clientKey;
}
std::string AVOSCloud::getApplicationId() {
return AVPaasClient::sharedInstance()->applicationId;
}
std::string AVOSCloud::getClientKey() {
return AVPaasClient::sharedInstance()->clientKey;
}
NS_AV_END