index.h File Reference

#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"
Include dependency graph for index.h:
This graph shows which files directly or indirectly include this file:

Classes

class  DataError
class  AlbumField
class  HistoryField
class  Index

Typedefs

typedef AlbumField ** AlbumList

Functions

IndexcreateNewIndexFor (QString song, QString directory)
QString findUniqueName (QString directory, QString filename)

Typedef Documentation

typedef AlbumField** AlbumList

Function Documentation

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().

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by  doxygen 1.6.2