Skip to content
Snippets Groups Projects
Select Git revision
  • bdaa274bfa42b16a94c9780e73eefa4d2a0fd31e
  • master default protected
  • release/202005
  • release/202001
  • release/201912
  • release/windows-test/201910
  • release/201908
  • release/201906
  • release/201905
  • release/201904
  • release/201903
  • release/201902
  • release/201901
  • release/201812
  • release/201811
  • release/201808
  • releases/beta1
  • packaging
  • releases/alpha
  • 1.0.0
  • 0.2.0
  • 0.1.0
22 results

RegisterNameWC.h

Blame
  • Kateryna Kostiuk's avatar
    Kateryna Kostiuk authored and Andreas Traczyk committed
    - standardize view for backup account, register username and change
    password windows
    
    Change-Id: I442a32cfa04ac9fe4af7fed2318cac6c4e264693
    Reviewed-by: default avatarAndreas Traczyk <andreas.traczyk@savoirfairelinux.com>
    bdaa274b
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    RegisterNameWC.h 1.54 KiB
    /*
     *  Copyright (C) 2016 Savoir-faire Linux Inc.
     *  Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
     *
     *  This program is free software; you can redistribute it and/or modify
     *  it under the terms of the GNU General Public License as published by
     *  the Free Software Foundation; either version 3 of the License, or
     *  (at your option) any later version.
     *
     *  This program is distributed in the hope that it will be useful,
     *  but WITHOUT ANY WARRANTY; without even the implied warranty of
     *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     *  GNU General Public License for more details.
     *
     *  You should have received a copy of the GNU General Public License
     *  along with this program; if not, write to the Free Software
     *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA.
     */
    
    
    #import "AbstractLoadingWC.h"
    #import "LoadingWCDelegate.h"
    #import "LrcModelsProtocol.h"
    #include <string>
    
    
    @protocol RegisterNameDelegate <LoadingWCDelegate>
    
    @optional
    
    - (void) didRegisterName:(NSString *) name withSuccess:(BOOL) success;
    
    @end
    
    @interface RegisterNameWC : AbstractLoadingWC <LrcModelsProtocol>
    
    @property (nonatomic, weak) NSViewController <RegisterNameDelegate>* delegate;
    
    /**
     * KVO with the registeredNameField
     */
    //@property (nonatomic, weak)NSString* registeredName;
    
    /**
     * KVO with the passwordField
     */
    //@property (nonatomic, weak)NSString* password;
    
    /**
     * KVO validators for the UI
     */
    @property (assign)BOOL isUserNameAvailable;
    
    @property std::string selectedAccountID;
    
    @end