Skip to content

Commit

Permalink
combine all files?
Browse files Browse the repository at this point in the history
  • Loading branch information
bramtayl committed Nov 18, 2024
1 parent d9254b4 commit 22d0842
Show file tree
Hide file tree
Showing 65 changed files with 4,821 additions and 5,617 deletions.
4 changes: 0 additions & 4 deletions .gitmodules

This file was deleted.

3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ if (NO_REALTIME_AUDIO)
endif()

add_subdirectory(include)
add_subdirectory(src)

target_sources(JustlyLibrary PRIVATE "src/justly.cpp")

target_include_directories(JustlyLibrary PRIVATE src)

Expand Down
3 changes: 0 additions & 3 deletions generate_coverage.sh

This file was deleted.

7 changes: 1 addition & 6 deletions include/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
target_sources(JustlyLibrary PUBLIC
FILE_SET justly_public_headers
TYPE HEADERS
FILES
"justly/JUSTLY_EXPORT.hpp"
"justly/ChordColumn.hpp"
"justly/PitchedNoteColumn.hpp"
"justly/UnpitchedNoteColumn.hpp"
"justly/justly.hpp"
FILES "justly/justly.hpp"
)
17 changes: 0 additions & 17 deletions include/justly/ChordColumn.hpp

This file was deleted.

9 changes: 0 additions & 9 deletions include/justly/JUSTLY_EXPORT.hpp

This file was deleted.

12 changes: 0 additions & 12 deletions include/justly/PitchedNoteColumn.hpp

This file was deleted.

12 changes: 0 additions & 12 deletions include/justly/UnpitchedNoteColumn.hpp

This file was deleted.

41 changes: 40 additions & 1 deletion include/justly/justly.hpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,54 @@
#pragma once

#include "justly/JUSTLY_EXPORT.hpp"
#include <QString>
#include <QVariant>
#include <QtCore/QtGlobal>

struct SongEditor;
class QAbstractItemModel;
class QModelIndex;
class QAbstractItemView;
class QWidget;


#if defined(JUSTLY_LIBRARY)
#define JUSTLY_EXPORT Q_DECL_EXPORT
#else
#define JUSTLY_EXPORT Q_DECL_IMPORT
#endif

enum JUSTLY_EXPORT ChordColumn {
chord_instrument_column,
chord_percussion_set_column,
chord_percussion_instrument_column,
chord_interval_column,
chord_beats_column,
chord_velocity_ratio_column,
chord_tempo_ratio_column,
chord_words_column,
chord_pitched_notes_column,
chord_unpitched_notes_column,
number_of_chord_columns
};

enum JUSTLY_EXPORT PitchedNoteColumn {
pitched_note_instrument_column,
pitched_note_interval_column,
pitched_note_beats_column,
pitched_note_velocity_ratio_column,
pitched_note_words_column,
number_of_pitched_note_columns
};

enum JUSTLY_EXPORT UnpitchedNoteColumn {
unpitched_note_percussion_set_column,
unpitched_note_percussion_instrument_column,
unpitched_note_beats_column,
unpitched_note_velocity_ratio_column,
unpitched_note_words_column,
number_of_unpitched_note_columns
};

void JUSTLY_EXPORT set_up();
[[nodiscard]] auto JUSTLY_EXPORT make_song_editor() -> SongEditor *;
void JUSTLY_EXPORT show_song_editor(SongEditor *song_editor_pointer);
Expand Down
5 changes: 0 additions & 5 deletions src/CMakeLists.txt

This file was deleted.

48 changes: 0 additions & 48 deletions src/abstract_rational/AbstractRational.cpp

This file was deleted.

42 changes: 0 additions & 42 deletions src/abstract_rational/AbstractRational.hpp

This file was deleted.

7 changes: 0 additions & 7 deletions src/abstract_rational/CMakeLists.txt

This file was deleted.

4 changes: 0 additions & 4 deletions src/abstract_rational/interval/CMakeLists.txt

This file was deleted.

30 changes: 0 additions & 30 deletions src/abstract_rational/interval/Interval.cpp

This file was deleted.

25 changes: 0 additions & 25 deletions src/abstract_rational/interval/Interval.hpp

This file was deleted.

4 changes: 0 additions & 4 deletions src/abstract_rational/rational/CMakeLists.txt

This file was deleted.

15 changes: 0 additions & 15 deletions src/abstract_rational/rational/Rational.cpp

This file was deleted.

18 changes: 0 additions & 18 deletions src/abstract_rational/rational/Rational.hpp

This file was deleted.

Loading

0 comments on commit 22d0842

Please sign in to comment.