diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2020-05-28 22:18:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-28 22:18:22 +0300 |
commit | d9d5e44526a3b8065e4ae913032020d0bfd93103 (patch) | |
tree | 5b8a7e630944ef168de903afc33c7fbe20ec083d /kms++/inc | |
parent | 852eedd94c0d519bb63ca989b9e13fa9c36f6b14 (diff) | |
parent | 554f3f0231c432dea740e56d6a51a15983c93310 (diff) |
Merge pull request #56 from matthoosier-garmin/more-card-constructors
More card constructors
Diffstat (limited to 'kms++/inc')
-rw-r--r-- | kms++/inc/kms++/card.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kms++/inc/kms++/card.h b/kms++/inc/kms++/card.h index e561ffc..5c1cf7c 100644 --- a/kms++/inc/kms++/card.h +++ b/kms++/inc/kms++/card.h @@ -24,8 +24,11 @@ class Card { friend class Framebuffer; public: + static std::unique_ptr<Card> open_named_card(const std::string& name); + Card(const std::string& dev_path = ""); Card(const std::string& driver, uint32_t idx); + Card(int fd, bool take_ownership); virtual ~Card(); Card(const Card& other) = delete; |