Added file extension constant and updated constants module #17

Merged
phoenix merged 3 commits from file_extension into devel 2025-03-29 22:37:04 +00:00
Showing only changes of commit 80fbd42e16 - Show all commits

View File

@@ -1,5 +1,15 @@
pub mod file_extensions {
pub mod audio {
pub const DEFAULTMUSICEXTENSION: &str = FLACEXTENSION;
pub const FLACEXTENSION: &str = ".flac";
pub const WAVEXTENSION: &str = ".wav";
pub const MPTHREEEXTENSION: &str = ".mp3";
}
pub mod image {
pub const JPGEXTENSION: &str = ".jpg";
pub const JPEGEXTENSION: &str = ".jpeg";
pub const PNGEXTENSION: &str = ".png";
}
}