2016-02-19 05:25:34 +00:00
|
|
|
// This file is part of Background Music.
|
|
|
|
//
|
|
|
|
// Background Music 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 2 of the
|
|
|
|
// License, or (at your option) any later version.
|
|
|
|
//
|
|
|
|
// Background Music 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 Background Music. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
//
|
2016-03-30 08:00:20 +00:00
|
|
|
// BGMXPCHelperService.h
|
|
|
|
// BGMXPCHelper
|
2016-02-19 05:25:34 +00:00
|
|
|
//
|
|
|
|
// Copyright © 2016 Kyle Neideck
|
|
|
|
//
|
|
|
|
|
2016-03-30 08:00:20 +00:00
|
|
|
// Local Includes
|
|
|
|
#import "BGMXPCProtocols.h"
|
2016-02-19 05:25:34 +00:00
|
|
|
|
2016-03-30 08:00:20 +00:00
|
|
|
// System Includes
|
|
|
|
#import <Foundation/Foundation.h>
|
2016-02-19 05:25:34 +00:00
|
|
|
|
|
|
|
|
2016-03-30 08:00:20 +00:00
|
|
|
// This object implements the protocol which we have defined. It provides the actual behavior for the service. It is
|
|
|
|
// 'exported' by the service to make it available to the process hosting the service over an NSXPCConnection.
|
|
|
|
@interface BGMXPCHelperService : NSObject <BGMXPCHelperXPCProtocol>
|
2016-02-19 05:25:34 +00:00
|
|
|
|
2016-03-30 08:00:20 +00:00
|
|
|
- (id) initWithConnection:newConnection;
|
2016-02-19 05:25:34 +00:00
|
|
|
|
2016-03-30 08:00:20 +00:00
|
|
|
@end
|
2016-02-19 05:25:34 +00:00
|
|
|
|