Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortetsuo55 <tetsuo55@users.sourceforge.net>2010-04-09 01:14:58 +0400
committertetsuo55 <tetsuo55@users.sourceforge.net>2010-04-09 01:14:58 +0400
commita9b7bf3fb3e1334d8defd05ca4cfae870b4912e5 (patch)
tree2dab453d94d5e003379a6cc895eceb84c80e23ec /src/apps/mplayerc/Playlist.h
parentaafd49a91f7c2fa9c7103971c16fa6e1b29e8bfd (diff)
astyle formatting cleanup to make the sourcecode more accessible
switch used: astyle --style=ansi --min-conditional-indent=0 --pad=oper --unpad=paren http://astyle.sourceforge.net/ git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1783 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/Playlist.h')
-rw-r--r--src/apps/mplayerc/Playlist.h58
1 files changed, 29 insertions, 29 deletions
diff --git a/src/apps/mplayerc/Playlist.h b/src/apps/mplayerc/Playlist.h
index 31265a4e2..cbe9a0b6d 100644
--- a/src/apps/mplayerc/Playlist.h
+++ b/src/apps/mplayerc/Playlist.h
@@ -28,51 +28,51 @@
class CPlaylistItem
{
- static UINT m_globalid;
+ static UINT m_globalid;
public:
- UINT m_id;
- CString m_label;
- CAtlList<CString> m_fns;
- CAtlList<CString> m_subs;
- enum type_t {file, device} m_type;
- REFERENCE_TIME m_duration;
- int m_vinput, m_vchannel;
- int m_ainput;
- long m_country;
-
- bool m_fInvalid;
+ UINT m_id;
+ CString m_label;
+ CAtlList<CString> m_fns;
+ CAtlList<CString> m_subs;
+ enum type_t {file, device} m_type;
+ REFERENCE_TIME m_duration;
+ int m_vinput, m_vchannel;
+ int m_ainput;
+ long m_country;
+
+ bool m_fInvalid;
public:
- CPlaylistItem();
- virtual ~CPlaylistItem();
+ CPlaylistItem();
+ virtual ~CPlaylistItem();
- CPlaylistItem(const CPlaylistItem& pli);
- CPlaylistItem& operator = (const CPlaylistItem& pli);
+ CPlaylistItem(const CPlaylistItem& pli);
+ CPlaylistItem& operator = (const CPlaylistItem& pli);
- POSITION FindFile(LPCTSTR path);
+ POSITION FindFile(LPCTSTR path);
- CString GetLabel(int i = 0);
+ CString GetLabel(int i = 0);
};
class CPlaylist : public CList<CPlaylistItem>
{
protected:
- POSITION m_pos;
+ POSITION m_pos;
public:
- CPlaylist();
- virtual ~CPlaylist();
+ CPlaylist();
+ virtual ~CPlaylist();
- void RemoveAll();
- bool RemoveAt(POSITION pos);
+ void RemoveAll();
+ bool RemoveAt(POSITION pos);
- void SortById(), SortByName(), SortByPath(), Randomize();
+ void SortById(), SortByName(), SortByPath(), Randomize();
- POSITION GetPos();
- void SetPos(POSITION pos);
- CPlaylistItem& GetNextWrap(POSITION& pos);
- CPlaylistItem& GetPrevWrap(POSITION& pos);
+ POSITION GetPos();
+ void SetPos(POSITION pos);
+ CPlaylistItem& GetNextWrap(POSITION& pos);
+ CPlaylistItem& GetPrevWrap(POSITION& pos);
- POSITION Shuffle();
+ POSITION Shuffle();
};