-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #380 from bugsnag/PLAT-13438-tri-state-type
Replace tri-state types with a single type, deprecating their uses in public APIs
- Loading branch information
Showing
28 changed files
with
330 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// | ||
// Metrics.h | ||
// BugsnagPerformance | ||
// | ||
// Created by Karl Stenerud on 20.01.25. | ||
// Copyright © 2025 Bugsnag. All rights reserved. | ||
// | ||
|
||
#pragma once | ||
|
||
#import <BugsnagPerformance/BugsnagPerformanceConfiguration.h> | ||
|
||
namespace bugsnag { | ||
|
||
class MetricsOptions { | ||
public: | ||
MetricsOptions() {} | ||
|
||
MetricsOptions(BugsnagPerformanceSpanMetricsOptions *metrics) | ||
: rendering(metrics.rendering) | ||
, cpu(metrics.cpu) | ||
{} | ||
|
||
BSGTriState rendering{BSGTriStateUnset}; | ||
BSGTriState cpu{BSGTriStateUnset}; | ||
}; | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.