# Register spsurvey as a dynamic library
useDynLib(spsurvey, .registration=TRUE)

# Import all packages listed as Depends or Imports
import(sp)
import(methods)
importFrom(deldir, deldir, tile.list)
importFrom(foreign, read.ssd, read.xport)
importFrom(graphics, axis, box, legend, lines, mtext, par, points, text, title)
importFrom(grDevices, graphics.off, pdf, rainbow)
importFrom(MASS, ginv)
importFrom(rgeos, gIntersection)
importFrom(stats, addmargins, dist, dnorm, ftable, model.frame, pchisq, pf,
	pnorm, qnorm, rnorm, runif, var)

# Export all names
exportPattern(".")

# Export S3 methods
S3method(summary, SpatialDesign)
S3method(plot, SpatialDesign)

# Export S4 class
exportClasses(SpatialDesign)

# Export S4 methods
exportMethods(
	summary,
	plot
)
