OpenShot Library | libopenshot-audio
0.2.0
|
59 storeAsCompressedBinary,
167 File getDefaultFile()
const;
221 bool needsToBeSaved()
const;
226 void setNeedsToBeSaved (
bool needsToBeSaved);
238 void propertyChanged()
override;
244 bool loadedOk =
false, needsWriting =
false;
246 using ProcessScopedLock =
const std::unique_ptr<InterProcessLock::ScopedLockType>;
249 void timerCallback()
override;
String filenameSuffix
The suffix to use for your properties file.
Structure describing properties file options.
String osxLibrarySubFolder
If you're using properties files on a Mac, you must set this value - failure to do so will cause a ru...
String applicationName
The name of your application - this is used to help generate the path and filename at which the prope...
const File & getFile() const noexcept
Returns the file that's being used.
InterProcessLock * processLock
An optional InterprocessLock object that will be used to prevent multiple threads or processes from w...
Makes repeated callbacks to a virtual method at a specified time interval.
A set of named property values, which can be strings, integers, floating point, etc.
String folderName
The name of a subfolder in which you'd like your properties file to live.
StorageFormat storageFormat
Specifies whether the file should be written as XML, binary, etc.
#define JUCE_API
This macro is added to all JUCE public class declarations.
int millisecondsBeforeSaving
If this is zero or greater, then after a value is changed, the object will wait for this amount of ti...
Acts as a critical section which processes can use to block each other.
Wrapper on a file that stores a list of key/value data pairs.
The base class for streams that write data to some kind of destination.
Represents a local file or directory.
Automatically locks and unlocks an InterProcessLock object.
bool doNotSave
If set to true, this prevents the file from being written to disk.
bool commonToAllUsers
If true, the file will be created in a location that's shared between users.
bool ignoreCaseOfKeyNames
If true, this means that property names are matched in a case-insensitive manner.
bool isValidFile() const noexcept
Returns true if this file was created from a valid (or non-existent) file.
Holds a list of ChangeListeners, and sends messages to them when instructed.