mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 15:12:21 +00:00
30 lines
831 B
Objective-C
30 lines
831 B
Objective-C
//
|
|
// MPRequestHandlerService.h
|
|
// MacPass
|
|
//
|
|
// Created by Michael Starke on 17.06.13.
|
|
// Copyright (c) 2013 HicknHack Software GmbH. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@protocol MPServerRequestHandling;
|
|
|
|
FOUNDATION_EXPORT NSString *const MPRequestTypeGetLogins;
|
|
FOUNDATION_EXPORT NSString *const MPRequestTypeGetLoginsCount;
|
|
FOUNDATION_EXPORT NSString *const MPRequestTypeGetAllLogins;
|
|
FOUNDATION_EXPORT NSString *const MPRequestTypeSetLogin;
|
|
FOUNDATION_EXPORT NSString *const MPRequestTypeGeneratePassword;
|
|
|
|
/**
|
|
* Servive class to be called for getting specific request handler for indifidual reuqest
|
|
* The service is identified by a string
|
|
*/
|
|
@interface MPRequestHandlerService : NSObject
|
|
|
|
+ (id<MPServerRequestHandling>)requestHandler:(NSString *)identifier;
|
|
|
|
+ (BOOL)validKeyProposal;
|
|
|
|
@end
|