Fixed the state for the playlists menu item to show the currently playing playlist.
[MenuTunes.git] / NetworkObject.h
1 /*
2  *  MenuTunes
3  *  NetworkObject
4  *    Remote network object that is vended
5  *
6  *  Original Author : Kent Sutherland <ksutherland@ithinksw.com>
7  *   Responsibility : Kent Sutherland <ksutherland@ithinksw.com>
8  *
9  *  Copyright (c) 2002 - 2003 iThink Software.
10  *  All Rights Reserved
11  *
12  *      This header defines the Objective-C protocol which all MenuTunes Remote
13  *  plugins must implement.  To build a remote, create a subclass of this
14  *  object, and implement each method in the @protocol below.
15  *
16  */
17
18 #import <Foundation/Foundation.h>
19
20 @class ITMTRemote;
21
22 @interface NetworkObject : NSObject
23 {
24     BOOL _authenticated, _valid;
25 }
26 - (ITMTRemote *)remote;
27 - (NSString *)serverName;
28
29 - (BOOL)requiresPassword;
30 - (BOOL)sendPassword:(NSData *)password;
31
32 - (void)invalidate;
33 - (void)makeValid;
34 - (BOOL)isValid;
35 @end