aboutsummaryrefslogtreecommitdiff
path: root/Assistant/Types/UrlRenderer.hs
blob: 68c238d6a1484330f9ad408de122ac435b549b58 (plain)
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
{- webapp url renderer access from the assistant
 -
 - Copyright 2013 Joey Hess <id@joeyh.name>
 -
 - Licensed under the GNU GPL version 3 or higher.
 -}

{-# LANGUAGE CPP #-}

module Assistant.Types.UrlRenderer (
	UrlRenderer,
	newUrlRenderer
) where

#ifdef WITH_WEBAPP

import Assistant.WebApp (UrlRenderer, newUrlRenderer)

#else

data UrlRenderer = UrlRenderer -- dummy type

newUrlRenderer :: IO UrlRenderer
newUrlRenderer = return UrlRenderer

#endif