#include <stdio.h>#include "common.h"#include "type-operations.h"#include "spectrum-type.h"#include "echo-property.h"#include "composition-property.h"#include "rhythm-property.h"#include "capacity.h"#include "Data/om-data.h"

Classes | |
| class | DataError |
| class | AlbumField |
| class | HistoryField |
| class | Index |
Typedefs | |
| typedef AlbumField ** | AlbumList |
Functions | |
| Index * | createNewIndexFor (QString song, QString directory) |
| QString | findUniqueName (QString directory, QString filename) |
| typedef AlbumField** AlbumList |
| Index* createNewIndexFor | ( | QString | song, | |
| QString | directory | |||
| ) |
Creates a new unique index filename and refer to the song, thereby tagging it as New
We set the period to unknown, which will also immediately write the index to disk
References findUniqueName(), Index::set_filename(), Index::set_period(), Index::set_storedin(), Index::set_tags(), and Index::set_title_author_remix().
Referenced by MusicScanner::checkfile(), and main().
| QString findUniqueName | ( | QString | directory, | |
| QString | filename | |||
| ) |
Prefixes the extension of filename with a number until a unique filename is found
References exists(), IdxExt, and slash.
Referenced by createNewIndexFor().
1.6.2