Squash commits for public release
This commit is contained in:
18
userland/system/homescreen/FastLaunchEntity.h
Normal file
18
userland/system/homescreen/FastLaunchEntity.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
#include <libg/PixelBitmap.h>
|
||||
#include <string>
|
||||
|
||||
class FastLaunchEntity {
|
||||
public:
|
||||
FastLaunchEntity() = default;
|
||||
|
||||
void set_icon(LG::PixelBitmap&& icon) { m_icon = std::move(icon); }
|
||||
const LG::PixelBitmap& icon() const { return m_icon; }
|
||||
|
||||
void set_path_to_exec(std::string&& path) { m_path_to_exec = std::move(path); }
|
||||
const std::string& path_to_exec() const { return m_path_to_exec; }
|
||||
|
||||
private:
|
||||
LG::PixelBitmap m_icon;
|
||||
std::string m_path_to_exec {};
|
||||
};
|
||||
Reference in New Issue
Block a user