################################################
### Imports
################################################

importFrom("grDevices", "dev.interactive")

importFrom("graphics", "abline", "axis", "curve", "hist",
           "hist.default", "mtext", "par", "plot", "segments", "title")

importFrom("stats", ".getXlevels", "coef", "constrOptim", "density",
           "integrate", "is.empty.model", "lm", "median",
           "model.matrix", "model.offset", "model.response",
           "model.weights", "na.omit", "nlm", "nlminb", "optim",
           "optimize", "ppoints", "printCoefmat", "pt", "qqplot",
           "rexp", "rnorm", "runif", "sd", "splinefun", "uniroot",
           "var")
importFrom("utils", "data")

importFrom("MASS", fitdistr)

importFrom("DistributionUtils", tsHessian, logHist, besselRatio,
           is.wholenumber, momChangeAbout, kurtosis, skewness,
           incompleteBesselK)

################################################
## S3 classes
################################################
S3method(print,hyperbFit)
S3method(print,nigFit)
S3method(print,gigFit)
S3method(print,hyperblm)
S3method(plot,hyperblm)
S3method(plot,hyperbFit)
S3method(plot,nigFit)
S3method(plot,gigFit)
S3method(summary,hyperbFit)
S3method(summary,nigFit)
S3method(summary,gigFit)
S3method(summary,hyperblm)
S3method(print,summary.hyperbFit)
S3method(print,summary.nigFit)
S3method(print,summary.gigFit)
S3method(print,summary.hyperblm)
S3method(print,hyperbCvMTest)
S3method(coef,hyperbFit)
S3method(coef,nigFit)
S3method(coef,gigFit)
S3method(coef,hyperblm)
S3method(vcov,hyperbFit)
S3method(vcov,nigFit)
S3method(vcov,gigFit)

################################################
## Functions
################################################
## MM: don't like this *Pattern(): exports much too much, incl all S3 methods
exportPattern("hyperb")
exportPattern("nig")
exportPattern("ghyp")
exportPattern("gig")
exportPattern("skewlap")
exportPattern("gamma")
exportPattern("Lambda")
exportPattern("mom")
export(plotShapeTriangle)
export(sumX)
