aboutsummaryrefslogtreecommitdiffstats
path: root/src/cubase_project.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cubase_project.rs')
-rw-r--r--src/cubase_project.rs40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/cubase_project.rs b/src/cubase_project.rs
new file mode 100644
index 0000000..49c73a7
--- /dev/null
+++ b/src/cubase_project.rs
@@ -0,0 +1,40 @@
+/* cbconvert -- A program to parse and convert Cubase projects
+ * Copyright (C) 2020 <name of copyright holder>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+/**
+ * A struct to hold the information about a Cubase project.
+ */
+#[derive(Debug, Default)]
+pub struct CubaseProject {
+ pub app_version: PAppVersion,
+}
+
+/*
+ * Version information about the app that created the file.
+ */
+#[derive(Debug, Default)]
+pub struct PAppVersion {
+ pub appname: String,
+ pub appversion: String,
+ pub appdate: String,
+ pub num2: u32,
+ pub apparch: String,
+ pub num3: u32,
+ pub appencoding: String,
+ pub applocale: String,
+}
+