214 |
VMFnResult* exec(VMFnArgs* args); |
VMFnResult* exec(VMFnArgs* args); |
215 |
}; |
}; |
216 |
|
|
217 |
|
/** |
218 |
|
* Implements the built-in sh_left() script function. |
219 |
|
*/ |
220 |
|
class CoreVMFunction_sh_left : public VMIntResultFunction { |
221 |
|
public: |
222 |
|
int minRequiredArgs() const { return 2; } |
223 |
|
int maxAllowedArgs() const { return 2; } |
224 |
|
bool acceptsArgType(int iArg, ExprType_t type) const { return type == INT_EXPR; } |
225 |
|
ExprType_t argType(int iArg) const { return INT_EXPR; } |
226 |
|
VMFnResult* exec(VMFnArgs* args); |
227 |
|
}; |
228 |
|
|
229 |
|
/** |
230 |
|
* Implements the built-in sh_right() script function. |
231 |
|
*/ |
232 |
|
class CoreVMFunction_sh_right : public VMIntResultFunction { |
233 |
|
public: |
234 |
|
int minRequiredArgs() const { return 2; } |
235 |
|
int maxAllowedArgs() const { return 2; } |
236 |
|
bool acceptsArgType(int iArg, ExprType_t type) const { return type == INT_EXPR; } |
237 |
|
ExprType_t argType(int iArg) const { return INT_EXPR; } |
238 |
|
VMFnResult* exec(VMFnArgs* args); |
239 |
|
}; |
240 |
|
|
241 |
} // namespace LinuxSampler |
} // namespace LinuxSampler |
242 |
|
|
243 |
#endif // LS_COREVMFUNCTIONS_H |
#endif // LS_COREVMFUNCTIONS_H |