Skip to content

Commit

Permalink
build(libime): move files only used by preferences
Browse files Browse the repository at this point in the history
  • Loading branch information
kanru committed Jul 31, 2024
1 parent ca58210 commit 7c78213
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 20 deletions.
2 changes: 1 addition & 1 deletion ChewingPreferences/AboutDialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#define CHEWING_ABOUT_DIALOG_H
#pragma once

#include <libIME\Dialog.h>
#include "Dialog.h"

namespace Chewing {

Expand Down
12 changes: 6 additions & 6 deletions ChewingPreferences/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ add_executable(ChewingPreferences WIN32
${CMAKE_SOURCE_DIR}/libIME/Utils.h
${CMAKE_SOURCE_DIR}/libIME/Window.cpp
${CMAKE_SOURCE_DIR}/libIME/Window.h
${CMAKE_SOURCE_DIR}/libIME/Dialog.cpp
${CMAKE_SOURCE_DIR}/libIME/Dialog.h
${CMAKE_SOURCE_DIR}/libIME/PropertyDialog.cpp
${CMAKE_SOURCE_DIR}/libIME/PropertyDialog.h
${CMAKE_SOURCE_DIR}/libIME/PropertyPage.cpp
${CMAKE_SOURCE_DIR}/libIME/PropertyPage.h
# Configuration dialog
${PROJECT_SOURCE_DIR}/Dialog.cpp
${PROJECT_SOURCE_DIR}/Dialog.h
${PROJECT_SOURCE_DIR}/PropertyDialog.cpp
${PROJECT_SOURCE_DIR}/PropertyDialog.h
${PROJECT_SOURCE_DIR}/PropertyPage.cpp
${PROJECT_SOURCE_DIR}/PropertyPage.h
${PROJECT_SOURCE_DIR}/TypingPropertyPage.cpp
${PROJECT_SOURCE_DIR}/TypingPropertyPage.h
${PROJECT_SOURCE_DIR}/UiPropertyPage.cpp
Expand Down
6 changes: 3 additions & 3 deletions ChewingPreferences/ChewingPreferences.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
// Boston, MA 02110-1301, USA.
//

#include <Windows.h>
#include <libIME/Dialog.h>
#include <libIME/PropertyDialog.h>
#include <libIME/Windows.h>
#include <libIME/WindowsVersion.h>
#include <libIME/ComPtr.h>
#include "TypingPropertyPage.h"
#include "UiPropertyPage.h"
#include "KeyboardPropertyPage.h"
#include "SymbolsPropertyPage.h"
#include "Dialog.h"
#include "PropertyDialog.h"
#include "AboutDialog.h"
#include "resource.h"
#include <CommCtrl.h>
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion ChewingPreferences/KeyboardPropertyPage.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#define CHEWING_KEYBOARD_PROPERTY_PAGE_H
#pragma once

#include <libIME/PropertyPage.h>
#include "PropertyPage.h"
#include <ChewingTextService/ChewingConfig.h>

namespace Chewing {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion ChewingPreferences/SymbolsPropertyPage.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#define CHEWING_SYMBOLS_PROPERTY_PAGE
#pragma once

#include <libIME/PropertyPage.h>
#include "PropertyPage.h"
#include <ChewingTextService/ChewingConfig.h>
#include <string>

Expand Down
2 changes: 1 addition & 1 deletion ChewingPreferences/TypingPropertyPage.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#ifndef CHEWING_TYPING_PROPERTY_PAGE_H
#define CHEWING_TYPING_PROPERTY_PAGE_H

#include <libIME/PropertyPage.h>
#include "PropertyPage.h"
#include <ChewingTextService/ChewingConfig.h>

namespace Chewing {
Expand Down
2 changes: 1 addition & 1 deletion ChewingPreferences/UiPropertyPage.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#define CHEWING_UI_PROPERTY_PAGE_H
#pragma once

#include <libIME/PropertyPage.h>
#include "PropertyPage.h"
#include <ChewingTextService/ChewingConfig.h>

namespace Chewing {
Expand Down
6 changes: 0 additions & 6 deletions libIME/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@ add_library(libIME_static STATIC
${PROJECT_SOURCE_DIR}/DrawUtils.cpp
${PROJECT_SOURCE_DIR}/Window.cpp
${PROJECT_SOURCE_DIR}/Window.h
# ${PROJECT_SOURCE_DIR}/Dialog.cpp
# ${PROJECT_SOURCE_DIR}/Dialog.h
# ${PROJECT_SOURCE_DIR}/PropertyDialog.cpp
# ${PROJECT_SOURCE_DIR}/PropertyDialog.h
# ${PROJECT_SOURCE_DIR}/PropertyPage.cpp
# ${PROJECT_SOURCE_DIR}/PropertyPage.h
${PROJECT_SOURCE_DIR}/ImeWindow.cpp
${PROJECT_SOURCE_DIR}/ImeWindow.h
${PROJECT_SOURCE_DIR}/MessageWindow.cpp
Expand Down

0 comments on commit 7c78213

Please sign in to comment.