/// // Tizen C++ SDK // Copyright (c) 2012 Samsung Electronics Co., Ltd. // // Licensed under the Flora License, Version 1.0 (the License); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://floralicense.org/license/ // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an AS IS BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // #include "FApp.h" #include "AppResourceId.h" #include "AddAccountForm.h" using namespace Tizen::App; using namespace Tizen::Base; using namespace Tizen::Base::Collection; using namespace Tizen::Social; using namespace Tizen::Ui; using namespace Tizen::Ui::Controls; static const int IDA_BUTTON_ADD_ACCOUNT_CLICKED = 101; static const wchar_t _ACCOUNT_ADD_OUTPUT_DATA_KEY[] = L"http://tizen.org/appcontrol/data/account/id"; AddAccountForm::AddAccountForm(void) : __reqId(INVALID_REQUEST_ID) , __accountId(INVALID_ACCOUNT_ID) { } AddAccountForm::~AddAccountForm(void) { } bool AddAccountForm::Initialize() { Form::Construct(IDF_FORM_ADD_ACCOUNT); return true; } result AddAccountForm::OnInitializing(void) { Button *pButton1 = static_cast