UPS: apcupsd clean sources
[tomato.git] / release / src / router / apcupsd / src / apcagent / InstanceManager.h
blob8df15b6e6fba514f5a00cfe5b2b97072efd93d35
1 /*
2 * InstanceManager.h
4 * Apcupsd monitoring applet for Mac OS X
5 */
7 /*
8 * Copyright (C) 2009 Adam Kropelin
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of version 2 of the GNU General
12 * Public License as published by the Free Software Foundation.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
19 * You should have received a copy of the GNU General Public
20 * License along with this program; if not, write to the Free
21 * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
22 * MA 02111-1307, USA.
25 #import "InstanceConfig.h"
27 @interface InstanceManager: NSObject
29 NSMutableDictionary *instmap;
30 NSNib *nib;
33 - (InstanceManager *)init;
34 - (void)dealloc;
36 -(IBAction)remove:(id)sender;
37 -(IBAction)add:(id)sender;
38 -(IBAction)removeAll:(id)sender;
39 -(IBAction)startAtLogin:(id)sender;
41 - (void) createMonitors;
42 -(BOOL)isStartAtLogin;
44 @end