-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,63 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<CodeLite_Workspace Name="example code" Database="" Version="10.0.0"> | ||
<Project Name="uno #0010 - empty" Path="uno #0010 - empty/_codelite.project" Active="No"/> | ||
<Project Name="uno-#0010-empty" Path="uno-#0010-empty/_codelite.project" Active="No"/> | ||
<BuildMatrix> | ||
<WorkspaceConfiguration Name="Release" Selected="yes"> | ||
<Project Name="uno #0010 - empty" ConfigName="Release"/> | ||
<Project Name="uno-#0010-empty" ConfigName="Release"/> | ||
</WorkspaceConfiguration> | ||
</BuildMatrix> | ||
<Project Name="uno #0020 - two" Path="uno #0020 - two/_codelite.project" Active="No"/> | ||
<Project Name="uno-#0020-two" Path="uno-#0020-two/_codelite.project" Active="No"/> | ||
<BuildMatrix> | ||
<WorkspaceConfiguration Name="Release" Selected="yes"> | ||
<Project Name="uno #0020 - two" ConfigName="Release"/> | ||
<Project Name="uno-#0020-two" ConfigName="Release"/> | ||
</WorkspaceConfiguration> | ||
</BuildMatrix> | ||
<Project Name="uno #0030 - blink - direct" Path="uno #0030 - blink - direct/_codelite.project" Active="No"/> | ||
<Project Name="uno-#0030-blink-direct" Path="uno-#0030-blink-direct/_codelite.project" Active="No"/> | ||
<BuildMatrix> | ||
<WorkspaceConfiguration Name="Release" Selected="yes"> | ||
<Project Name="uno #0030 - blink - direct" ConfigName="Release"/> | ||
<Project Name="uno-#0030-blink-direct" ConfigName="Release"/> | ||
</WorkspaceConfiguration> | ||
</BuildMatrix> | ||
<Project Name="uno #0040 - blink - gpio" Path="uno #0040 - blink - gpio/_codelite.project" Active="No"/> | ||
<Project Name="uno-#0040-blink-gpio" Path="uno-#0040-blink-gpio/_codelite.project" Active="No"/> | ||
<BuildMatrix> | ||
<WorkspaceConfiguration Name="Release" Selected="yes"> | ||
<Project Name="uno #0040 - blink - gpio" ConfigName="Release"/> | ||
<Project Name="uno-#0040-blink-gpio" ConfigName="Release"/> | ||
</WorkspaceConfiguration> | ||
</BuildMatrix> | ||
<Project Name="uno #0050 - blink - blink" Path="uno #0050 - blink - blink/_codelite.project" Active="No"/> | ||
<Project Name="uno-#0050-blink-blink" Path="uno-#0050-blink-blink/_codelite.project" Active="No"/> | ||
<BuildMatrix> | ||
<WorkspaceConfiguration Name="Release" Selected="yes"> | ||
<Project Name="uno #0050 - blink - blink" ConfigName="Release"/> | ||
<Project Name="uno-#0050-blink-blink" ConfigName="Release"/> | ||
</WorkspaceConfiguration> | ||
</BuildMatrix> | ||
<Project Name="uno #0060 - uart - input" Path="uno #0060 - uart - input/_codelite.project" Active="No"/> | ||
<Project Name="uno-#0060-uart-input" Path="uno-#0060-uart-input/_codelite.project" Active="No"/> | ||
<BuildMatrix> | ||
<WorkspaceConfiguration Name="Release" Selected="yes"> | ||
<Project Name="uno #0060 - uart - input" ConfigName="Release"/> | ||
<Project Name="uno-#0060-uart-input" ConfigName="Release"/> | ||
</WorkspaceConfiguration> | ||
</BuildMatrix> | ||
<Project Name="uno #0070 - lcd - x" Path="uno #0070 - lcd - x/_codelite.project" Active="No"/> | ||
<Project Name="uno-#0070-lcd-16x2" Path="uno-#0070-lcd-16x2/_codelite.project" Active="No"/> | ||
<BuildMatrix> | ||
<WorkspaceConfiguration Name="Release" Selected="yes"> | ||
<Project Name="uno #0070 - lcd - x" ConfigName="Release"/> | ||
<Project Name="uno-#0070-lcd-16x2" ConfigName="Release"/> | ||
</WorkspaceConfiguration> | ||
</BuildMatrix> | ||
<Project Name="uno #0080 - lcd - x" Path="uno #0080 - lcd - x/_codelite.project" Active="Yes"/> | ||
<Project Name="uno-#0080-lcd-scrolling-message" Path="uno-#0080-lcd-scrolling-message/_codelite.project" Active="No"/> | ||
<BuildMatrix> | ||
<WorkspaceConfiguration Name="Release" Selected="yes"> | ||
<Project Name="uno #0080 - lcd - x" ConfigName="Release"/> | ||
<Project Name="uno-#0080-lcd-scrolling-message" ConfigName="Release"/> | ||
</WorkspaceConfiguration> | ||
</BuildMatrix> | ||
<Project Name="uno #0090 - lcd - scrolling message" Path="uno #0090 - lcd - scrolling message/_codelite.project" Active="No"/> | ||
<Project Name="uno-#0090-lcd-keypad-shield" Path="uno-#0090-lcd-keypad-shield/_codelite.project" Active="No"/> | ||
<BuildMatrix> | ||
<WorkspaceConfiguration Name="Release" Selected="yes"> | ||
<Project Name="uno #0090 - lcd - scrolling message" ConfigName="Release"/> | ||
<Project Name="uno-#0090-lcd-keypad-shield" ConfigName="Release"/> | ||
</WorkspaceConfiguration> | ||
</BuildMatrix> | ||
<Project Name="uno #0100 - lcd - keypad - shield" Path="uno #0100 - lcd - keypad - shield/_codelite.project" Active="No"/> | ||
<Project Name="uno-#0100-pcfa8574a-lcd-16x2" Path="uno-#0100-pcfa8574a-lcd-16x2/_codelite.project" Active="Yes"/> | ||
<BuildMatrix> | ||
<WorkspaceConfiguration Name="Release" Selected="yes"> | ||
<Project Name="uno #0100 - lcd - keypad - shield" ConfigName="Release"/> | ||
</WorkspaceConfiguration> | ||
</BuildMatrix> | ||
<Project Name="uno #0110 - pcfa - lcd - x" Path="uno #0110 - pcfa - lcd - x/_codelite.project" Active="No"/> | ||
<BuildMatrix> | ||
<WorkspaceConfiguration Name="Release" Selected="yes"> | ||
<Project Name="uno #0110 - pcfa - lcd - x" ConfigName="Release"/> | ||
<Project Name="uno-#0100-pcfa8574a-lcd-16x2" ConfigName="Release"/> | ||
</WorkspaceConfiguration> | ||
</BuildMatrix> | ||
</CodeLite_Workspace> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
// ========================================================================== | ||
// | ||
// File : hwlib-stream-mux.hpp | ||
// Part of : C++ hwlib library for close-to-the-hardware OO programming | ||
// Copyright : [email protected] 2017-2019 | ||
// | ||
// Distributed under the Boost Software License, Version 1.0. | ||
// (See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt) | ||
// | ||
// ========================================================================== | ||
|
||
// included only via hwlib.hpp, hence no multiple-include guard is needed | ||
|
||
// this file contains Doxygen lines | ||
/// @file | ||
|
||
namespace hwlib { | ||
|
||
class ostream_prefix : ostream { | ||
private: | ||
|
||
ostream & minion; | ||
const char marker; | ||
|
||
public: | ||
|
||
ostream_mux( ostream & minion, char marker ): | ||
minion( minion ), marker( marker ) | ||
{} | ||
|
||
void putc( char c ) override { | ||
minion.putc( marker ); | ||
minion.putc( c ); | ||
} | ||
|
||
void flush() override { | ||
minion.flush(); | ||
} | ||
|
||
}; // class ostream_prefix | ||
|
||
class istream_mux : ostream { | ||
private: | ||
|
||
ostream & minion; | ||
|
||
public: | ||
|
||
ostream_mux( ostream & minion ): minion( minion ){} | ||
|
||
void putc( char x ) override { | ||
} | ||
|
||
void flush() override { | ||
} | ||
|
||
}; // class ostream_mux | ||
|
||
}; // namespace hwlib |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.