diff options
author | ritsuka <[email protected]> | 2014-07-16 06:20:57 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2014-07-16 06:20:57 +0000 |
commit | 0e165d0a096d606b52b1bcace1911c7d0c24be04 (patch) | |
tree | e2d54585d8518d8c69dd77335db0d78d1075c26b /macosx/HBUtilities.h | |
parent | 31283b442713147dc5edb5135cb6dbcbb95635e8 (diff) |
MacGui: moved two methods used by the whole app to HBUtilities.m:
- appSupportPath:
- writeToActivityLog:
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6232 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBUtilities.h')
-rw-r--r-- | macosx/HBUtilities.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/macosx/HBUtilities.h b/macosx/HBUtilities.h index d1fc9888d..f3f39501b 100644 --- a/macosx/HBUtilities.h +++ b/macosx/HBUtilities.h @@ -9,7 +9,20 @@ @interface HBUtilities : NSObject /** - * Genetares a file name automatically based on the inputs, + * Returns the path of the current <user>/Library/Application Support/HandBrake folder. + */ ++ (NSString *)appSupportPath; + +/** + * Writes a message to standard error. + * The message will show up in the output panel and in the activity log. + * + * @param format a standard c format string with varargs. + */ ++ (void)writeToActivityLog:(const char *)format, ...; + +/** + * Generates a file name automatically based on the inputs, * it can be configured with NSUserDefaults. * * @param sourceName the name of the source file |