-
Notifications
You must be signed in to change notification settings - Fork 0
/
flyingfader.inl
36 lines (29 loc) · 1.08 KB
/
flyingfader.inl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* Kabuki Tek Toolkit @version 0.x
@link https://github.com/kabuki-starship/kabuki.toolkit.tek.git
@file /flying_fader.inl
@author Cale McCollough <https://cookingwithcale.org>
@license Copyright 2014-20 (C) Kabuki Starship (TM) <kabukistarship.com>.
This Source Code Form is subject to the terms of the Mozilla Public License, v.
2.0. If a copy of the MPL was not distributed with this file, You can obtain one
at <https://mozilla.org/MPL/2.0/>. */
#include "flyingfader.h"
namespace _ {
FlyingFader::FlyingFader() {}
void FlyingFader::Print() {
cout << "\n| FlyingFader:0x";
PrintPointer(this);
}
const Operation* FlyingFader::Star(char_t index, Expr* expr) {
static const Operation This = {"FlyingFader", NumOperations(0),
FirstOperation('a'), "tek", 0};
switch (index) {
case '?':
return &This;
}
return nullptr;
}
FlyingFaderOp::FlyingFaderOp(FlyingFader* ff) : ff_(ff) {}
const Operation* FlyingFaderOp::Star(char_t index, Expr* expr) {
return ff_->Star(index, expr);
}
} // namespace _