~alcinnz/rhapsode

ref: df26d5938cc8c127af15e72d21f20f52e91f69c7 rhapsode/src/Types.hs -rw-r--r-- 547 bytes
df26d593 — Adrian Cochrane Various tidies, including disabling wakeword in absence of Voice2JSON. 1 year, 5 months ago
                                                                                
65356894 Adrian Cochrane
943ea735 Adrian Cochrane
ee018b49 Adrian Cochrane
943ea735 Adrian Cochrane
ee018b49 Adrian Cochrane
df26d593 Adrian Cochrane
65356894 Adrian Cochrane
8bf7b85d Adrian Cochrane
943ea735 Adrian Cochrane
989a5032 Adrian Cochrane
943ea735 Adrian Cochrane
65356894 Adrian Cochrane
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module Types(CArray, Page(..), Application(..), RhapsodeCSS, buildDirFile, readStrict) where

import SpeechStyle (SpeechStyle)
import Data.CSS.Preprocessor.Conditions (ConditionalStyles, conditionalStyles)
import Data.CSS.Preprocessor.Text (TextStyle)

import Network.URI.Fetch (Application(..), url)
import Network.URI.Fetch.XML (Page(..), loadVisited, readStrict)

import System.FilePath ((</>))
import Foreign.Ptr

buildDir = "."
buildDirFile = (buildDir </>)

type CArray a = Ptr a
type RhapsodeCSS = ConditionalStyles (TextStyle SpeechStyle)