41 #if !defined(__CACFPreferences_h__)
42 #define __CACFPreferences_h__
49 #if !defined(__COREAUDIO_USE_FLAT_INCLUDES__)
50 #include <CoreFoundation/CoreFoundation.h>
52 #include <CoreFoundation.h>
64 static CFPropertyListRef CopyValue(CFStringRef inKey,
bool inCurrentUser,
bool inCurrentHost);
65 static CFStringRef CopyStringValue(CFStringRef inKey,
bool inCurrentUser,
bool inCurrentHost);
66 static CFNumberRef CopyNumberValue(CFStringRef inKey,
bool inCurrentUser,
bool inCurrentHost);
67 static CFArrayRef CopyArrayValue(CFStringRef inKey,
bool inCurrentUser,
bool inCurrentHost);
68 static CFDictionaryRef CopyDictionaryValue(CFStringRef inKey,
bool inCurrentUser,
bool inCurrentHost);
69 static void SetValue(CFStringRef inKey, CFPropertyListRef inValue,
bool inCurrentUser,
bool inCurrentHost,
bool inSynchronize);
70 static void DeleteValue(CFStringRef inKey,
bool inCurrentUser,
bool inCurrentHost,
bool inSynchronize);
71 static void Synchronize(
bool inCurrentUser,
bool inCurrentHost,
bool inForce);
72 static void MarkPrefsOutOfDate(
bool inCurrentUser,
bool inCurrentHost);
73 static void MarkPrefsClean(
bool inCurrentUser,
bool inCurrentHost);
74 static void SendNotification(CFStringRef inName);
77 static bool ArePrefsOutOfDate(
bool inCurrentUser,
bool inCurrentHost);
79 static bool sAnyUserAnyHostPrefsOutOfDate;
80 static bool sAnyUserCurrentHostPrefsOutOfDate;
81 static bool sCurrentUserAnyHostPrefsOutOfDate;
82 static bool sCurrentUserCurrentHostPrefsOutOfDate;