Debian Codegraph @

include/utilities.h

raw symbols SCIP
1 /* fre:ac - free audio converter
2 * Copyright (C) 2001-2022 Robert Kausch <[email protected]>
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation, either version 2 of
7 * the License, or (at your option) any later version.
8 *
9 * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
10 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
11 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */
12
13 #ifndef H_FREAC_UTILITIES
14 #define H_FREAC_UTILITIES
15
16 #include <boca.h>
17
18 namespace freac
19 {
20 class Utilities
21 {
22 public:
23 static Void FillGenreList(List *);
24 static Void UpdateGenreList(List *, const String &);
25
26 static String GetOutputFileName(const BoCA::Config *, const BoCA::Track &);
27 static String GetOutputFileName(const BoCA::Track &, const String &, const String &, Bool, const String &, Bool, Bool, Bool, Bool);
28
29 static String GetSingleOutputFileName(const BoCA::Config *, const Array<BoCA::Track> &);
30 static String GetSingleOutputFileNameDefault(const BoCA::Config *, const Array<BoCA::Track> &);
31
32 static String GetPlaylistFileName(const BoCA::Config *, const BoCA::Track &, const Array<BoCA::Track> &);
33
34 static String FormatFileNameForLogging(const String &, const String & = NIL);
35
36 static String GetOutputBasePath(const BoCA::Config *, const BoCA::Track &, const String &);
37 static String GetPlaylistBasePath(const BoCA::Config *, const BoCA::Track &, const Array<BoCA::Track> &);
38
39 static Bool SetProcessPriority();
40
41 static Bool MirrorBitmap(Bitmap &);
42 };
43 };
44
45 #endif