parent
87632fa51e
commit
d7dd20b1c1
6 changed files with 2608 additions and 0 deletions
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,17 @@ |
|||||||
|
cdata.set('TOP_SRCDIR', meson.source_root()) |
||||||
|
cdata.set('TOP_BUILDDIR', meson.build_root()) |
||||||
|
|
||||||
|
doxyfile = configure_file(input: 'Doxyfile.in', |
||||||
|
output: 'Doxyfile', |
||||||
|
configuration: cdata, |
||||||
|
install: false) |
||||||
|
|
||||||
|
datadir = join_paths(get_option('datadir'), 'doc', 'spede') |
||||||
|
|
||||||
|
html_target = custom_target('spede-docs', |
||||||
|
input: doxyfile, |
||||||
|
output: 'html', |
||||||
|
command: [doxygen, doxyfile], |
||||||
|
install: true, |
||||||
|
install_dir: datadir) |
||||||
|
|
@ -0,0 +1,23 @@ |
|||||||
|
#pragma once |
||||||
|
|
||||||
|
namespace Comedy { |
||||||
|
|
||||||
|
/**
|
||||||
|
* Spede is the funniest person in the world. |
||||||
|
*/ |
||||||
|
class Spede { |
||||||
|
public: |
||||||
|
/**
|
||||||
|
* Creates a new spede. |
||||||
|
*/ |
||||||
|
Spede(); |
||||||
|
|
||||||
|
/**
|
||||||
|
* Make him do the funny thing he is known for. |
||||||
|
*/ |
||||||
|
void slap_forehead(); |
||||||
|
}; |
||||||
|
private: |
||||||
|
|
||||||
|
int num_movies; ///< How many movies has he done.
|
||||||
|
} |
@ -0,0 +1,54 @@ |
|||||||
|
usr/share/doc/spede/html/annotated.html |
||||||
|
usr/share/doc/spede/html/bc_s.png |
||||||
|
usr/share/doc/spede/html/bdwn.png |
||||||
|
usr/share/doc/spede/html/classComedy_1_1Spede.html |
||||||
|
usr/share/doc/spede/html/classComedy_1_1Spede-members.html |
||||||
|
usr/share/doc/spede/html/classes.html |
||||||
|
usr/share/doc/spede/html/closed.png |
||||||
|
usr/share/doc/spede/html/dir_44a4667d36a4476878de085754f6d2b9.html |
||||||
|
usr/share/doc/spede/html/dir_68b523c5b3a2dcea45d5ce70397fb722.html |
||||||
|
usr/share/doc/spede/html/dir_7bdce917e28dfbd493cadd1d2e5c7d80.html |
||||||
|
usr/share/doc/spede/html/dir_a7e6472d2301212032fd74682f8217f3.html |
||||||
|
usr/share/doc/spede/html/dir_ee191f21c02d247cc959e80c1a3acadf.html |
||||||
|
usr/share/doc/spede/html/doc.png |
||||||
|
usr/share/doc/spede/html/doxygen.css |
||||||
|
usr/share/doc/spede/html/doxygen.png |
||||||
|
usr/share/doc/spede/html/dynsections.js |
||||||
|
usr/share/doc/spede/html/files.html |
||||||
|
usr/share/doc/spede/html/folderclosed.png |
||||||
|
usr/share/doc/spede/html/folderopen.png |
||||||
|
usr/share/doc/spede/html/functions_func.html |
||||||
|
usr/share/doc/spede/html/functions.html |
||||||
|
usr/share/doc/spede/html/index.html |
||||||
|
usr/share/doc/spede/html/jquery.js |
||||||
|
usr/share/doc/spede/html/menudata.js |
||||||
|
usr/share/doc/spede/html/menu.js |
||||||
|
usr/share/doc/spede/html/nav_f.png |
||||||
|
usr/share/doc/spede/html/nav_g.png |
||||||
|
usr/share/doc/spede/html/nav_h.png |
||||||
|
usr/share/doc/spede/html/open.png |
||||||
|
usr/share/doc/spede/html/spede_8h_source.html |
||||||
|
usr/share/doc/spede/html/splitbar.png |
||||||
|
usr/share/doc/spede/html/sync_off.png |
||||||
|
usr/share/doc/spede/html/sync_on.png |
||||||
|
usr/share/doc/spede/html/tab_a.png |
||||||
|
usr/share/doc/spede/html/tab_b.png |
||||||
|
usr/share/doc/spede/html/tab_h.png |
||||||
|
usr/share/doc/spede/html/tabs.css |
||||||
|
usr/share/doc/spede/html/tab_s.png |
||||||
|
|
||||||
|
usr/share/doc/spede/html/search/all_0.html |
||||||
|
usr/share/doc/spede/html/search/all_0.js |
||||||
|
usr/share/doc/spede/html/search/classes_0.html |
||||||
|
usr/share/doc/spede/html/search/classes_0.js |
||||||
|
usr/share/doc/spede/html/search/close.png |
||||||
|
usr/share/doc/spede/html/search/functions_0.html |
||||||
|
usr/share/doc/spede/html/search/functions_0.js |
||||||
|
usr/share/doc/spede/html/search/mag_sel.png |
||||||
|
usr/share/doc/spede/html/search/nomatches.html |
||||||
|
usr/share/doc/spede/html/search/search.css |
||||||
|
usr/share/doc/spede/html/search/searchdata.js |
||||||
|
usr/share/doc/spede/html/search/search.js |
||||||
|
usr/share/doc/spede/html/search/search_l.png |
||||||
|
usr/share/doc/spede/html/search/search_m.png |
||||||
|
usr/share/doc/spede/html/search/search_r.png |
@ -0,0 +1,17 @@ |
|||||||
|
project('doxygen test', 'cpp') |
||||||
|
|
||||||
|
doxygen = find_program('doxygen', required : false) |
||||||
|
if not doxygen.found() |
||||||
|
error('MESON_SKIP_TEST doxygen not found.') |
||||||
|
endif |
||||||
|
|
||||||
|
cdata = configuration_data() |
||||||
|
|
||||||
|
if find_program('dot', required : false).found() |
||||||
|
cdata.set('HAVE_DOT', 'YES') |
||||||
|
else |
||||||
|
cdata.set('HAVE_DOT', 'NO') |
||||||
|
endif |
||||||
|
|
||||||
|
subdir('doc') |
||||||
|
|
@ -0,0 +1,24 @@ |
|||||||
|
#include<spede.h> |
||||||
|
|
||||||
|
namespace Comedy { |
||||||
|
|
||||||
|
/**
|
||||||
|
* Do all the delicate movements that lead to a comical sound |
||||||
|
* emanating from a person. |
||||||
|
* |
||||||
|
* \param force how hard to move the hand. |
||||||
|
* \return something or another |
||||||
|
*/ |
||||||
|
int gesticulate(int force) { |
||||||
|
// FIXME add implementation.
|
||||||
|
return 0; |
||||||
|
} |
||||||
|
|
||||||
|
Spede::Spede() : num_movies(100) { |
||||||
|
} |
||||||
|
|
||||||
|
Spede::slap_forehead() { |
||||||
|
gesticulate(42); |
||||||
|
} |
||||||
|
|
||||||
|
} |
Loading…
Reference in new issue