PageRenderTime 18ms CodeModel.GetById 11ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/demo/src/my_handlers.ads

http://github.com/ThomasLocke/yolk
Ada | 28 lines | 5 code | 5 blank | 18 comment | 0 complexity | 3813c756052f66ccf7f812563b36abf6 MD5 | raw file
 1-------------------------------------------------------------------------------
 2--                                                                           --
 3--                   Copyright (C) 2010-, Thomas Løcke                   --
 4--                                                                           --
 5--  This is free software;  you can redistribute it and/or modify it         --
 6--  under terms of the  GNU General Public License  as published by the      --
 7--  Free Software  Foundation;  either version 3,  or (at your  option) any  --
 8--  later version. This library is distributed in the hope that it will be   --
 9--  useful, but WITHOUT ANY WARRANTY;  without even the implied warranty of  --
10--  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                     --
11--  You should have received a copy of the GNU General Public License and    --
12--  a copy of the GCC Runtime Library Exception along with this program;     --
13--  see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see    --
14--  <http://www.gnu.org/licenses/>.                                          --
15--                                                                           --
16-------------------------------------------------------------------------------
17
18--  Application specific resource handlers.
19
20with AWS.Services.Dispatchers.URI;
21
22package My_Handlers is
23
24   function Get
25     return AWS.Services.Dispatchers.URI.Handler;
26   --  Register content dispatchers for the server.
27
28end My_Handlers;