#include <swmgr.h>
#include <swmodule.h>
#include <versekey.h>
#include <iostream>
#include <stdio.h>
Go to the source code of this file.
|
int | main (int argc, char **argv) |
|
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 42 of file emptyvss.cpp.
44 fprintf(stderr,
"usage: %s <Mod Name>\n", argv[0]);
50 ModMap::iterator it = mgr.
Modules.find(argv[1]);
52 fprintf(stderr,
"error: %s: couldn't find module: %s \n", argv[0], argv[1]);
61 vkey =
dynamic_cast<VerseKey *
>(key);
66 fprintf(stderr,
"error: %s: %s module is not keyed to verses \n", argv[0], argv[1]);
78 std::cout << *vkey << std::endl;
unsigned long length() const
SWBuf renderText(const char *buf, int len=-1, bool render=true) const
virtual void setIntros(bool val)
virtual int getVerse() const