source: trunk/mediafolder/include/m3ufolder.hh@ 73

Last change on this file since 73 was 51, checked in by gyoung, 2 years ago

hh files that are needed and don't seem to be generated.

  • Property svn:eol-style set to native
File size: 3.0 KB
Line 
1/*
2 * This file is (C) Chris Wohlgemuth 2002
3 */
4
5#ifndef M3UFOLDER_HH_INCLUDED
6#define M3UFOLDER_HH_INCLUDED
7
8#include "mediafolder.hh"
9#include "mediafolderres.h"
10
11#pragma SOMAsDefault(on)
12#include <som.hh>
13#include <somcls.hh>
14#pragma SOMNoMangling(on)
15
16#include "cwaudio.hh"
17
18#pragma SOMAsDefault(off)
19#pragma SOMNonDTS(on)
20
21/* The help panel for the M3U folder */
22#define IDHLP_M3UFOLDERMAIN 300
23
24typedef struct _M3UTHREADPARMS
25{
26 WPObject* thisPtr;
27 HWND hwndCnr;
28 HWND hwndFrame;
29 BOOL fSaveOnly;
30}M3UTHREADPARMS;
31
32#pragma SOMAsDefault(on)
33//#pragma SOMNonDTS(on)
34
35class M_CWM3UFolder:public M_CWMediaFolder
36{
37/* The name of of the new class */
38#pragma SOMClassName(*,"M_CWM3UFolder")
39/* Required SOM version */
40#pragma SOMClassVersion(*,1,2)
41#pragma SOMCallstyle(oidl)
42public:
43 virtual PSZ wpclsQueryTitle();
44 virtual ULONG wpclsQueryStyle();
45 virtual ULONG wpclsQueryIconData(PICONINFO pIconInfo);
46 virtual ULONG wpclsQueryIconDataN(PICONINFO pIconInfo, ULONG ulIconIndex);
47 virtual void wpclsInitData();
48 virtual BOOL wpclsQueryDefaultHelp(PULONG HelpPanelId,PSZ HelpLibrary);
49 virtual BOOL wpclsCreateDefaultTemplates(WPObject * wpObject);
50 /*
51 virtual void wpclsUnInitData();
52
53 */
54#pragma SOMReleaseOrder()
55#pragma SOMIDLPass(*,"Implementation-End","dllname = mediafld;")
56};
57
58class CWM3UFolder:public CWMediaFolder
59{
60#pragma SOMClassName(*,"CWM3UFolder")
61#pragma SOMMetaClass(*,"M_CWM3UFolder")
62#pragma SOMClassVersion(*,1,2)
63#pragma SOMCallstyle(oidl)
64private:
65
66public:
67
68 BOOL fContentsChanged;
69 BOOL fClosing;
70
71 virtual HWND wpOpen(HWND hwndCnr,ULONG ulView,ULONG ulParam);
72 // virtual BOOL wpSetup(PSZ pSetupString);
73 virtual BOOL cwInsertAllTracks(char* chrM3UFile);
74 virtual BOOL cwSavePlaylist(char* chrM3UFile, BOOL fClose);
75 virtual BOOL wpDeleteFromContent(WPObject* Object);
76 virtual ULONG wpFilterPopupMenu(ULONG ulFlags, HWND hwndCnr, BOOL fMultiSelect);
77 virtual BOOL wpModifyPopupMenu(HWND hwndMenu, HWND hwndCnr, ULONG ulPosition);
78 virtual MRESULT wpDrop(HWND hwndCnr,PDRAGINFO pDragInfo,PDRAGITEM pDragItem);
79#if 0
80 virtual BOOL wpRestoreState(ULONG ulReserved);
81 virtual BOOL wpSaveState();
82 virtual BOOL wpSetupOnce(PSZ pSetupString);
83 virtual MRESULT wpDragOver(HWND hwndCnr,PDRAGINFO pDragInfo);
84 virtual BOOL wpRefresh(ULONG ulView, PVOID pReserved);
85 virtual ULONG wpAddObjectGeneralPage2(HWND hwndNotebook);
86 virtual ULONG wpAddFolderSortPage(HWND hwndNotebook);
87 virtual ULONG wpAddFolderIncludePage(HWND hwndNotebook);
88 virtual ULONG wpQueryConcurrentView();
89 virtual ULONG cwPlayAudioFile(HWND hwndFrame, ULONG ulWhich);
90 virtual BOOL cwSeekAudioFile(LONG lPosSec);
91 virtual void cwPlayTimeCallback(HWND hwndFrame, LONG lPosSec);
92 virtual MRESULT wpDrop(HWND hwndCnr,PDRAGINFO pDragInfo,PDRAGITEM pDragItem);
93 virtual BOOL wpDeleteFromContent(WPObject* Object);
94#endif
95 virtual BOOL cwClose(HWND hwndFrame);
96#pragma SOMReleaseOrder( \
97"cwSavePlaylist")
98
99#pragma SOMIDLPass(CWMediaFolder,"Implementation-End","dllname = mediafld;")
100};
101
102#pragma SOMAsDefault(pop)
103#pragma SOMNonDTS(pop)
104
105#endif /* CDFOLDER_HH_INCLUDED */
106
107
108
109
110
111
112
113
114
115
116
117
Note: See TracBrowser for help on using the repository browser.