BERLIN — Warner Bros. has inked an exclusive four-picture deal with German box office star and multihyphenate Matthias Schweighoefer.

Schweighoefer has enjoyed a boffo year at the local B.O. with two comedy hits: his directorial debut “What a Man,” which made an impressive $16.4 million last year via Fox, and Detlev Buck’s “Rubbeldiekatz,” about an actor who disguises himself as a woman to land a role in a Hollywood pic shooting in Berlin, which has so far pulled in $18 million for Universal.

Schweighoefer served as co-writer and producer on “What a Man” via his Pantaleon Films, which he runs with Marco Beckmann and Dan Maag.

As part of Pantaleon’s deal with Warner, Schweighoefer will star in and direct four films.

Willi Geike, president of Warner Bros. Pictures Germany, said, “As actor, director and producer, Matthias Schweighoefer is one of the most outstanding talents in Germany and he and his partners have produced very successful films.”

Schweighoefer is directing and starring in the Fox comedy “Schlussmacher,” about an employee of a professional agency that helps couples break up. He next appears in Paramount’s local comedy “Russendisko,” by Oliver Ziegenbalg.