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. (project-chip#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 <[email protected]>

Co-authored-by: Marc Lepage <[email protected]>
  • Loading branch information
2 people authored and PSONALl committed Dec 2, 2021
1 parent 361387a commit b983bce
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 b983bce

Please sign in to comment.