aboutsummaryrefslogtreecommitdiff
path: root/vcal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vcal.cpp')
-rw-r--r--vcal.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/vcal.cpp b/vcal.cpp
new file mode 100644
index 00000000..a104664d
--- /dev/null
+++ b/vcal.cpp
@@ -0,0 +1,14 @@
+#include "vcal.h"
+#include "err.h"
+
+std::ostream& operator<<(std::ostream& o, vcomponent* self) {
+ for (int i = 0; i < 40; i++) o << '_';
+
+ o << _YELLOW << std::endl
+ << "VComponet (Type := " << self->type << _RESET
+ << self->clines
+ << std::endl << "Components:" << std::endl
+ << self->components;
+
+ return o;
+}