-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAlbumsView.h
executable file
·60 lines (51 loc) · 2.71 KB
/
AlbumsView.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*******************************************************************************
* iPhone Project : iMPDclient *
* Copyright (C) 2008 Boris Nagels <[email protected]> *
*******************************************************************************
* $LastChangedDate:: 2008-01-29 22:02:23 +0100 (Tue, 29 Jan 2008) $ *
* $LastChangedBy:: boris $ *
* $LastChangedRevision:: 140 $ *
* $Id:: application.h 140 2008-01-29 21:02:23Z boris $ *
*******************************************************************************
* 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, see <http://www.gnu.org/licenses/>. *
*******************************************************************************/
#import <Foundation/Foundation.h>
#import <Foundation/NSDictionary.h>
#import <UIKit/UIKit.h>
#import <UIKit/UIApplication.h>
#import "libmpd/libmpd.h"
//////////////////////////////////////////////////////////////////////////
// Forward declarations.
//////////////////////////////////////////////////////////////////////////
@class MPDClientApplication;
//////////////////////////////////////////////////////////////////////////
// AlbumsView: class definition.
//////////////////////////////////////////////////////////////////////////
@interface AlbumsView : UIView
{
UINavigationBar* _navBar;
UINavigationItem* _title;
NSString* _artistName;
MpdObj* _mpdServer;
MPDClientApplication* _app;
NSMutableArray* _albums;
NSString* _firstAlbumName;
UITable* _table;
}
- (void)dealloc;
- (id)initWithFrame:(struct CGRect)frame;
- (void)initialize:(MPDClientApplication *)app mpd:(MpdObj *)mpdServer;
- (int)showAlbums:(NSString *)artistName;
- (NSString *)getFirstAlbumName;
@end