mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 09:21:57 -05:00
LibMaps: Move MapWidget to new LibMaps library
This commit is contained in:
parent
18cb48ae99
commit
e0570a4060
8 changed files with 12 additions and 6 deletions
|
@ -14,11 +14,10 @@ set(SOURCES
|
|||
FavoritesModel.cpp
|
||||
FavoritesPanelGML.cpp
|
||||
FavoritesPanel.cpp
|
||||
MapWidget.cpp
|
||||
SearchPanelGML.cpp
|
||||
SearchPanel.cpp
|
||||
UsersMapWidget.cpp
|
||||
)
|
||||
|
||||
serenity_app(Maps ICON app-maps)
|
||||
target_link_libraries(Maps PRIVATE LibConfig LibCore LibDesktop LibGfx LibGUI LibMain LibProtocol LibURL)
|
||||
target_link_libraries(Maps PRIVATE LibConfig LibCore LibDesktop LibGfx LibGUI LibMain LibMaps LibProtocol LibURL)
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "MapWidget.h"
|
||||
#include <LibGUI/Model.h>
|
||||
#include <LibMaps/MapWidget.h>
|
||||
|
||||
namespace Maps {
|
||||
|
||||
|
|
|
@ -6,12 +6,12 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "MapWidget.h"
|
||||
#include <LibGUI/Button.h>
|
||||
#include <LibGUI/Frame.h>
|
||||
#include <LibGUI/ItemListModel.h>
|
||||
#include <LibGUI/ListView.h>
|
||||
#include <LibGUI/TextBox.h>
|
||||
#include <LibMaps/MapWidget.h>
|
||||
#include <LibProtocol/Request.h>
|
||||
#include <LibProtocol/RequestClient.h>
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "MapWidget.h"
|
||||
#include <LibMaps/MapWidget.h>
|
||||
|
||||
namespace Maps {
|
||||
|
||||
|
|
|
@ -41,6 +41,7 @@ add_subdirectory(LibLine)
|
|||
add_subdirectory(LibLocale)
|
||||
add_subdirectory(LibMain)
|
||||
add_subdirectory(LibManual)
|
||||
add_subdirectory(LibMaps)
|
||||
add_subdirectory(LibMarkdown)
|
||||
add_subdirectory(LibPartition)
|
||||
add_subdirectory(LibPCIDB)
|
||||
|
|
6
Userland/Libraries/LibMaps/CMakeLists.txt
Normal file
6
Userland/Libraries/LibMaps/CMakeLists.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
set(SOURCES
|
||||
MapWidget.cpp
|
||||
)
|
||||
|
||||
serenity_lib(LibMaps maps)
|
||||
target_link_libraries(LibMaps PRIVATE LibConfig LibCore LibDesktop LibGfx LibGUI LibProtocol LibURL)
|
|
@ -5,7 +5,6 @@
|
|||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include "MapWidget.h"
|
||||
#include <Applications/MapsSettings/Defaults.h>
|
||||
#include <LibConfig/Client.h>
|
||||
#include <LibDesktop/Launcher.h>
|
||||
|
@ -13,6 +12,7 @@
|
|||
#include <LibGUI/Application.h>
|
||||
#include <LibGUI/Clipboard.h>
|
||||
#include <LibGfx/ImageFormats/ImageDecoder.h>
|
||||
#include <LibMaps/MapWidget.h>
|
||||
#include <LibProtocol/Request.h>
|
||||
#include <LibURL/URL.h>
|
||||
|
Loading…
Reference in a new issue