Rename `mediafileinfoobject.cpp` to `scriptapi.cpp`
The file contains various wrapper "objects" so it makes sense to use a more generic name.
This commit is contained in:
parent
35dc6bca20
commit
1cb00c7c41
|
@ -117,7 +117,7 @@ set(WIDGETS_UI_FILES
|
|||
|
||||
set(TEST_HEADER_FILES)
|
||||
set(TEST_SRC_FILES tests/cli.cpp)
|
||||
set(EXCLUDED_FILES cli/mediafileinfoobject.h cli/mediafileinfoobject.cpp)
|
||||
set(EXCLUDED_FILES cli/scriptapi.h cli/scriptapi.cpp)
|
||||
|
||||
set(TS_FILES translations/${META_PROJECT_NAME}_de_DE.ts translations/${META_PROJECT_NAME}_en_US.ts)
|
||||
|
||||
|
@ -247,8 +247,8 @@ endif ()
|
|||
|
||||
# configure JavaScript processing for the CLI
|
||||
if (JS_PROVIDER STREQUAL Qml)
|
||||
list(APPEND HEADER_FILES cli/mediafileinfoobject.h)
|
||||
list(APPEND SRC_FILES cli/mediafileinfoobject.cpp)
|
||||
list(APPEND HEADER_FILES cli/scriptapi.h)
|
||||
list(APPEND SRC_FILES cli/scriptapi.cpp)
|
||||
endif ()
|
||||
|
||||
# include modules to apply configuration
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
// includes for JavaScript support of set operation
|
||||
#ifdef TAGEDITOR_USE_JSENGINE
|
||||
#include "./mediafileinfoobject.h"
|
||||
#include "./scriptapi.h"
|
||||
#endif
|
||||
|
||||
// includes for generating HTML info
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include "./mediafileinfoobject.h"
|
||||
#include "./scriptapi.h"
|
||||
#include "./fieldmapping.h"
|
||||
#include "./helper.h"
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef CLI_MEDIA_FILE_INFO_OBJECT_H
|
||||
#define CLI_MEDIA_FILE_INFO_OBJECT_H
|
||||
#ifndef CLI_SCRIPT_API_H
|
||||
#define CLI_SCRIPT_API_H
|
||||
|
||||
#include <tagparser/positioninset.h>
|
||||
|
||||
|
@ -222,4 +222,4 @@ inline TagParser::MediaFileInfo &MediaFileInfoObject::fileInfo()
|
|||
|
||||
} // namespace Cli
|
||||
|
||||
#endif // CLI_MEDIA_FILE_INFO_OBJECT_H
|
||||
#endif // CLI_SCRIPT_API_H
|
Loading…
Reference in New Issue