Skip to content

Commit

Permalink
Move the lib/core type includes from basic_types.h to DataModelTypes.…
Browse files Browse the repository at this point in the history
…h. (#11114)

* Move the lib/core type includes from basic_types.h to DataModelTypes.h.

NodeId, GroupId, and VendorId declarations should come along when
including a header called DataModelTypes.h.

* Add PasscodeId.h

Co-authored-by: Marc Lepage <67919234+mlepage-google@users.noreply.github.com>

Co-authored-by: Marc Lepage <67919234+mlepage-google@users.noreply.github.com>
  • Loading branch information
2 people authored and pull[bot] committed Nov 22, 2021
1 parent 90ca1cd commit 1037904
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 1 addition & 5 deletions src/app/util/basic-types.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,7 @@

#include <cstdint>

#include <lib/core/GroupId.h>
#include <lib/core/NodeId.h>

// Pull in other core types
#include <lib/core/CHIPVendorIdentifiers.hpp>
// Pull in core types
#include <lib/core/DataModelTypes.h>

namespace chip {
Expand Down
5 changes: 5 additions & 0 deletions src/lib/core/DataModelTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@

#include <cstdint>

#include <lib/core/CHIPVendorIdentifiers.hpp> // For VendorId
#include <lib/core/GroupId.h>
#include <lib/core/NodeId.h>
#include <lib/core/PasscodeId.h>

namespace chip {

typedef uint8_t ActionId;
Expand Down

0 comments on commit 1037904

Please sign in to comment.