Mercurial > hg > easaier-soundaccess
comparison sv/main/EasaierSessionManager.h @ 143:97fd6148fb8e
support related media display and loading
author | lbajardsilogic |
---|---|
date | Tue, 13 Nov 2007 10:07:49 +0000 |
parents | dd06af61a4ff |
children | c4e897bf012b |
comparison
equal
deleted
inserted
replaced
142:c1ea7af931e7 | 143:97fd6148fb8e |
---|---|
43 UNKNOWN = 0, | 43 UNKNOWN = 0, |
44 AUDIO_SOURCE_INFO = 1, // information (metadata) about an audio file | 44 AUDIO_SOURCE_INFO = 1, // information (metadata) about an audio file |
45 MODEL = 2, // load a model in a existing layer | 45 MODEL = 2, // load a model in a existing layer |
46 METADATA = 3, // load the model and create an associated layer | 46 METADATA = 3, // load the model and create an associated layer |
47 QUERY_CONFIG = 4, // config of the queries | 47 QUERY_CONFIG = 4, // config of the queries |
48 QUERY_RESULTS = 5 // query results | 48 QUERY_RESULTS = 5, // query results |
49 RELATED_MEDIA_LIST = 6, // related media list | |
50 RELATED_MEDIA = 7 // related media | |
49 }; | 51 }; |
50 | 52 |
51 inline FileType getFileType() const {return m_type;} | 53 inline FileType getFileType() const {return m_type;} |
52 inline void setFileType(const FileType type) {m_type = type;} | 54 inline void setFileType(const FileType type) {m_type = type;} |
53 | 55 |
81 */ | 83 */ |
82 bool openAudioInfoFile(Document *document); | 84 bool openAudioInfoFile(Document *document); |
83 | 85 |
84 /*import metadata info in a new layer*/ | 86 /*import metadata info in a new layer*/ |
85 void importMetadata(const QString& filename, Pane* pane); | 87 void importMetadata(const QString& filename, Pane* pane); |
88 | |
89 /*load all the related media from the list*/ | |
90 void importRelatedMedia(std::list<QString> *relMediaList); | |
86 | 91 |
87 /* load the appropriate metadata (needed by opened layers) | 92 /* load the appropriate metadata (needed by opened layers) |
88 of an audio file | 93 of an audio file |
89 */ | 94 */ |
90 void loadRelatedModel(); | 95 void loadRelatedModel(); |